Delete API Key
Changed onDelete 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
- Base URLhttps://management-api.suprsend.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
detaillist-of-types was widened by adding typesarray and objectto media typeapplication/jsonof response401 - breaking
response property
detaillist-of-types was widened by adding typesarray and objectto media typeapplication/jsonof response404
- breaking