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.

FieldTypeRequiredDescription
messagestringyes
statusintegeryes
errorCodestringyes
timestampstring (date-time)no
pathstringno
detailsobjectno

Example response:

{
  "message": "Your sign-in has ended. Sign in again.",
  "status": 401,
  "errorCode": "SIGN_IN_REQUIRED"
}