Skip to main content
DELETE
/
api
/
v1
/
api-keys
/
{id}
Revoke API key
curl --request DELETE \
  --url https://api.logfleet.io/api/v1/api-keys/{id} \
  --header 'Authorization: Bearer <token>'
{
  "error": "<string>",
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.logfleet.io/llms.txt

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

Revoking an API key immediately invalidates it. Any edge agents using this key will no longer be able to authenticate.

Authorizations

Authorization
string
header
required

JWT token obtained from /auth/login

Path Parameters

id
string<uuid>
required

Response

API key revoked