Skip to main content
DELETE
DELETE /v1/dataContracts/{id}

Delete a Data Contract

Delete a data contract by ID or fully qualified name. Supports both soft delete and permanent (hard) delete.

Delete by ID

id
string
required
UUID of the data contract.
hardDelete
boolean
default:"false"
Set to true to permanently delete the contract. Soft-deleted contracts can be restored.
recursive
boolean
default:"false"
Recursively delete child entities.

Delete by FQN

Use DELETE /v1/dataContracts/name/{fqn} with the same query parameters.
DELETE /v1/dataContracts/{id}

Restore

Use PUT /v1/dataContracts/restore with a JSON body containing the id of the soft-deleted contract to restore it.

Error Handling