Enable or disable API token
This endpoint requires Organization Admin permissions.
Disable or re-enable an API token. To permanently revoke a token, use the Delete API token endpoint.
This operation is idempotent: calling it twice with the same body produces the same result.
Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Path Parameters
UUID of the API token. The token must exist in the authenticating user's organization.
Body
Determines if the API token is enabled: false to disable the token, true to re-enable it.
Response
Token updated successfully. Returns the current state of the token, or the same state if already in the requested state.
Unique ID for the token.
Token name.
Token type.
organization, personal, mcp Whether the token is enabled.
ISO 8601 timestamp of when the token was created.
Membership ID of the user who owns the token. null for Organization API keys.