API

Delete contractor

POST/api/crm/v2/contractors.deletev2
operationId: contractors.delete

Deletes a contractor. Records with readonly (with an already signed contract) cannot be deleted. You also cannot delete the last contractor of an account: each branch must have at least one contractor remaining.

Authorization

api-token + language + role

Query parameters

chain_idintegerrequired

Example: 1

Request body application/json

object
idintegerrequired

Example: 1

Responses

OK

object
statusstringrequired

Values:successerror

Example: success

dataobject