Carillon docs
Api keys

Revoke an API key

POST
/v1/apps/{appId}/keys/{keyId}/revoke

Authorization

SessionToken
AuthorizationBearer <token>

A session token, sent as Authorization: Bearer …. Sign in on the dashboard to obtain one, or run carillon login. Management endpoints require a session token.

In: header

Path Parameters

appId*string
Formatuuid
keyId*string
Formatuuid

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/v1/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/keys/497f6eca-6276-4993-bfeb-53cbbbba6f08/revoke"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "type": "secret",  "mode": "live",  "prefix": "string",  "label": "string",  "secret": "string",  "revoked_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z"}