Skip to main content
DELETE
/
v1
/
api-keys
/
{apiKeyId}
Revoke API key
curl --request DELETE \
  --url https://api.agentmark.co/v1/api-keys/{apiKeyId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Agentmark-App-Id: <api-key>'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.agentmark.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Agentmark-App-Id
string
header
required

Application ID for tenant scoping

Authorization
string
header
required

API key (sk_agentmark_*)

Path Parameters

apiKeyId
string
required
Minimum string length: 1

Response

API key revoked.