Sign out
Revokes the token the caller used for this call. The program calls this on sign-out.
Last updated:
Revokes the token the caller used for this call. The program calls this on sign-out.
POST /api/v1/oauth/revoke
Authorization
Requires a signed-in person. No particular scope is needed.
Responses
204
The token is revoked.
401
The caller's sign-in has already ended.
| Field | Type | Required | Description |
|---|---|---|---|
message | string | yes | |
status | integer | yes | |
errorCode | string | yes | |
timestamp | string (date-time) | no | |
path | string | no | |
details | object | no |
Example response:
{
"message": "Your sign-in has ended. Sign in again.",
"status": 401,
"errorCode": "SIGN_IN_REQUIRED"
}