Skip to content
Get started

Revoke an API key's access to a workspace

DELETE/v1/account/api_keys/{id}/workspaces/{workspaceId}

Revokes this API key’s access to the specified workspace. Idempotent. A key may have zero workspaces and remains valid.

Path ParametersExpand Collapse
id: string
workspaceId: string

Revoke an API key's access to a workspace

curl https://api.cadenya.com/v1/account/api_keys/$ID/workspaces/$WORKSPACE_ID \
    -X DELETE \
    -H "Authorization: Bearer $CADENYA_API_KEY"
Returns Examples