me

Revoke a specific session belonging to the current user.

Changed on

Returns success even if the session doesn't exist (idempotent). Returns 400 if the session belongs to a different user.

delete/admin/v1/me/sessions/{session_id}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /admin/v1/me/sessions/{session_id}
  • Auth: HTTP bearer

Path parameters

session_idstring uuid required

Session ID to revoke

Response

Session revoked

sessions_revokedinteger required

Number of sessions that were revoked

Changes