cURL
curl --request POST \ --url http://localhost:3000/api/canary/authentication/api-key/delete \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "keyId": "key_12345" } '
{ "statusCode": 400, "message": [ "Invalid input data" ], "error": "Bad Request" }
Delete an API key
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the API key to delete
"key_12345"
API key deleted successfully