api.unkey.dev/v1
cURL
curl --request POST \ --url https://api.unkey.dev/v1/keys.deleteKey \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "keyId": "key_1234", "permanent": false }'
{}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The key was successfully revoked, it may take up to 30s for this to take effect in all regions
The response is of type object.
object
Was this page helpful?