Skip to main content
DELETE
/
v2
/
api-keys
/
{keyId}
Delete API Key
curl --request DELETE \
  --url https://api.tusky.io/v2/api-keys/{keyId}
Revoke an API key. Takes effect immediately — any in-flight requests using this key will fail.

Path Parameters

keyId
string
required
The API key ID to revoke.

Response

Returns 204 No Content on success.

Example

curl -X DELETE https://api.tusky.io/v2/api-keys/key_abc123 \
  -H "Api-Key: YOUR_API_KEY"
Revocation is immediate and permanent. Update any applications using this key before deleting.