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
header
AuthorizationBearer <JWT>An OpenID Connect access token from signing in to CentralCSP, acting as the signed-in user.
workspaceId*stringThe workspace's id.
apiKeyId*stringThe API key's id. Not the secret.
The API key is revoked.
Example Request
curl -X DELETE 'https://api.centralcsp.com/v1/workspaces/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/api-keys/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90'Example Response
Empty