Revoke an API key

DELETE
/v1/api-keys/{id}

The key stops working at once. This cannot be undone.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.

Path Parameters

id*string

Response Body

Revoked

curl -X DELETE "https://example.com/v1/api-keys/key_01K6XJ4Q8ZT3M9R5V2B7WDHNCA"
Empty