Skip to content

Revoke an API key

DELETE
/v1/api-keys/{id}
curl --request DELETE \
--url https://your-machine.your-tailnet.ts.net/v1/api-keys/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'
id
required
string format: uuid

Revoked; requests with it fail at once.

Not found.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
issues

Validation details

Array

Example

{
"error": {
"code": "NOT_FOUND",
"message": "call not found"
}
}