Skip to main content
DELETE
/
service
/
organization
/
{id}
/
api-keys
/
{apiKeyId}
Delete Organization API Key
curl --request DELETE \
  --url https://api.example.com/service/organization/{id}/api-keys/{apiKeyId} \
  --header 'Authorization: Bearer <token>'
{
  "code": "health_status_ok",
  "message": "<string>",
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
apiKeyId
string
required

Response

API key deleted successfully

code
enum<string>
default:health_status_ok
Available options:
health_status_ok,
health_status_error,
validation_error,
bad_request,
unauthorized,
forbidden,
not_found,
method_not_allowed,
internal_server_error,
organization_not_found,
cannot_access_organization,
api_key_not_found,
resource_already_exists
message
string
data
any