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>"
}
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