Delete or restore a data contract
true to permanently delete the contract. Soft-deleted contracts can be restored.DELETE /v1/dataContracts/name/{fqn} with the same query parameters.
PUT /v1/dataContracts/restore with a JSON body containing the id of the soft-deleted contract to restore it.
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to delete data contracts |
404 | NOT_FOUND | Data contract not found |