CentralCSP
APIAPI Keys

Revoke an API key

Deletes the key. Requests using it are rejected from the next call onwards. There is no way to restore it, so issue a new key first if something depends on it.

Requires the admin role on the workspace and the api_keys plan feature.

DELETE
/v1/workspaces/{workspaceId}/api-keys/{apiKeyId}

Authorization

AuthorizationBearer <token>

An OpenID Connect access token issued by Keycloak, acting as the signed-in user.

In: header

Path Parameters

workspaceId*string
apiKeyId*string

Response Body

curl -X DELETE "https://api-next.centralcsp.com/v1/workspaces/string/api-keys/string"
Empty