DELETE
/
api
/
v1
/
agents
/
{id}
/
api-key
Revoke A P I Key
curl --request DELETE \
  --url http://localhost:8080/api/v1/agents/{id}/api-key \
  --header 'Authorization: Basic <encoded-value>'
{
  "status": "success",
  "data": true
}

Authorizations

Authorization
string
header
required

Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>

Path Parameters

id
string
required

Response

200
application/json

API key revoked successfully

The response is of type object.