Hikka Docs Hikka Docs
EndpointsAuth

Revoke auth token

DELETE
/auth/token/{token_reference}

Path Parameters

token_reference*string
Formatuuid

Header Parameters

auth?|
auth?|

Response Body

application/json

application/json

curl -X DELETE "https://api.hikka.io/auth/token/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "reference": "c773d0bf-1c42-4c18-aec8-1bdd8cb0a434",
  "created": 1686088809,
  "client": {
    "reference": "string",
    "name": "string",
    "description": "string",
    "verified": true,
    "user": {
      "reference": "c773d0bf-1c42-4c18-aec8-1bdd8cb0a434",
      "updated": 1686088809,
      "created": 1686088809,
      "description": "Hikka",
      "username": "hikka",
      "cover": "string",
      "active": true,
      "avatar": "string",
      "role": "string"
    },
    "created": 0,
    "updated": 0
  },
  "scope": [
    "string"
  ],
  "expiration": 1686088809,
  "used": 1686088809
}
{
  "message": "Example error message",
  "code": "example_error"
}