RevokeUserAuthToken revokes a user access token. You can optionally pass "current" instead of the token ID to revoke the current token.

delete/v1/users/-/tokens/{tokenId}

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

tokenIdstring required

ID of the auth token to revoke. Set to "current" to revoke the current auth token.

Query parameters

superuserForceAccessboolean

Flag for superusers to override normal access checks.

Response

A successful response.

V1RevokeUserAuthTokenResponse required

Changes

No recorded changes to this operation across all 70 revisions of this API.