DELETE /api/v1/{context_id}/keys/{key_name}
Changed onDelete the caller's own key by name (or, for a context administrator holding grant:manage over /, any key). A key that is not the caller's own and that it may not manage surfaces as 404 (no cross-key leakage). Gated by allow_self_service_keys; rejects legacy / delegated callers.
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
context_idstring required
Spectron context id
key_namestring required
Key name
Response
Deleted
Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info