cURL
curl --request DELETE \ --url https://api.bunship.com/api/v1/organizations/{orgId}/api-keys/{id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "API key revoked successfully" }
Permanently revoke an API key
401
true
curl -X DELETE https://api.bunship.com/api/v1/organizations/org_cld2abc123def456/api-keys/key_abc123 \ -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..."