Delete an API key by its id (e.g. ws_apik_...). Once disabled, the key can no longer authenticate requests.

delete/v1/{workspace}/ws_api_key/{api_key_id}/

Request

Path parameters

workspacestring required

Workspace slug (e.g. staging, production).

api_key_idstring required

API key identifier (e.g. ws_apik_...).

Response

API key disabled - no response body.

Changes

    • breaking

      response property detail list-of-types was widened by adding types array and object to media type application/json of response 401

    • breaking

      response property detail list-of-types was widened by adding types array and object to media type application/json of response 404