Contracts - Protected

Delete Contract

Hard-delete contract. NOT exposed in the UI — kept for future admin / system tooling. Use POST /{id}/suspend from the application.

Business rules:

  • Can delete if IDestado = 1 (open) or 3 (suspended)
  • Cannot delete if IDestado = 2 (closed)
delete/api/contracts/{contract_id}

Path parameters

contract_idinteger required

Headers

x-api-tokenstring nullable

Response

Successful Response

Changes

No recorded changes to this endpoint across all 1 revision of this API.