Smart Agent Teams
EndpointsAPI keys

Revoke My Api Key

Revoke one of the caller's API keys; it stops authenticating immediately. Requires a signed-in session token, not an API key (403 `SESSION_REQUIRED`). Answers 404 `NOT_FOUND` if the key does not exist, is already revoked or belongs to another user.

DELETE
/api/me/api-keys/{key_id}

Revoke one of the caller's API keys; it stops authenticating immediately.

Requires a signed-in session token, not an API key (403 SESSION_REQUIRED). Answers 404 NOT_FOUND if the key does not exist, is already revoked or belongs to another user.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

key_id*Key Id
Formatuuid

Response Body

Successful Response

curl -X DELETE "https://example.com/api/me/api-keys/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty