delete_output_schema
Soft-delete an output schema to remove it from list results, preserving data for future recovery. Requires the latest version and explicit confirmation to prevent stale or conflicted deletions.
Instructions
Delete a output_schema. Destructive, but RECOVERABLE — it is soft-deleted and can be brought back with restore_output_schema (it will not appear in list_output_schemas until then). Read it first for its version. A 409 here may be a stale version (re-read and retry) or a reference conflict (something published still uses it — re-reading will not help; the error tells you which).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The output_schema's id. | |
| confirm | Yes | Must be true. Acknowledges you understand this is destructive. | |
| expectedVersion | Yes | The version you last read — rejected with 409 if stale. |