layout | toc | title | slug | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
docs-api |
toc-api-admin.html |
POST /auth/revoke |
|
Revoke an access token
Header | Value |
---|---|
Authorization |
Bearer [token] |
Content-type |
application/json |
The request body must be a JSON string with the following fields:
Field | Description |
---|---|
token |
The token to revoke |
Status Code | Reason | Response |
---|---|---|
200 |
Success | none |
401 |
Not authorized | none |