Skip to Content
SeyloDocs

Revoke an API key

POST
/api/v1/apiKeys.revoke

Makes a key or MCP token stop working right away. Your own keys, or anyone's for owners and admins.

Any signed-in caller. Not available to MCP clients or the assistant.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
keyId*string

Panel-issued id.

Match^[a-z0-9]{16}$

Response Body

Success.

application/json
  1. response
Example Request
curl -X POST 'https://example.com/api/v1/apiKeys.revoke' \  -H 'Content-Type: application/json' \  -d '{  "keyId": "string"}'
Example Response
{}