NotifyHub
Openapi

Revoke API key

POST
/v1/manage/workspaces/{workspaceId}/environments/{environmentId}/api-keys/{apiKeyId}/revoke

Disables the API key so it can no longer be used for authentication. The key record is preserved for audit purposes. This endpoint is idempotent — revoking an already-revoked key returns success. Returns 409 if the key is already in a revoked state.

Authorization

Authorization<token>

In: header

Response Body

curl -X POST "https://loading/v1/manage/workspaces/{workspaceId}/environments/{environmentId}/api-keys/{apiKeyId}/revoke"
Empty