Skip to main content
POST
Revoke the refresh token to prevent future token refreshes.

Request

string
required
Refresh token to revoke

Response

boolean
Whether logout succeeded
string
Status message

Examples


Notes

  • Access tokens remain valid until expiration (typically 15 minutes)
  • For immediate session invalidation, implement token blacklisting
  • Already revoked tokens return success with different message

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Refresh token to revoke

refresh_token
string
required

Response

OK

The response is of type object.