Skip to main content
PUT

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

id
string<uuid>
required

UUID of the API token. The token must exist in the authenticating user's organization.

Body

application/json
enabled
boolean
required

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.

id
string<uuid>

Unique ID for the token.

name
string

Token name.

type
enum<string>

Token type.

Available options:
organization,
personal,
mcp
enabled
boolean

Whether the token is enabled.

createdAt
string<date-time>

ISO 8601 timestamp of when the token was created.

membershipId
string<uuid> | null

Membership ID of the user who owns the token. null for Organization API keys.