Users and API Keys

Revoke a personal access token

Changed on
post/personal-access-tokens/{tokenID}/revoke

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf

Path parameters

tokenID, string required

Personal access token ID (pat_...).

Response

The revoked personal access token.

PersonalAccessToken required
id, string required
user_id, string required
name, string required

Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.

token_id, string required

Stable non-secret display identifier. It is not embedded in the bearer token.

created_at, string date-time required
last_used_at, string date-time nullable required
revoked_at, string date-time nullable required

Changes

    • warning

      added the new upstream_unavailable enum value to the code response property for the response status

    • warning

      added the new upstream_unavailable enum value to the code response property for the response status

    • warning

      added the new upstream_unavailable enum value to the code response property for the response status

    9 more changes in this revision