Users and API Keys
Revoke a personal access token
Changed onpost/personal-access-tokens/{tokenID}/revoke
Request
- Base URLhttps://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.
Personal Access Token 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_unavailableenum value to thecoderesponse property for the response status - warning
added the new
upstream_unavailableenum value to thecoderesponse property for the response status - warning
added the new
upstream_unavailableenum value to thecoderesponse property for the response status
9 more changes in this revision
- warning