Skip to content

Soft-delete a party

DELETE
/v1/tenants/{tenantId}/parties/{id}
curl --request DELETE \
--url https://api.emite.cr/v1/tenants/example/parties/example \
--header 'Authorization: Bearer <token>'

Sets deleted_at. Refused with 422 while any document names the contact as its counterpart (receiverId) — in either environment, whatever its status, drafts included. Use POST to reactivate by sending the same identification.

tenantId
required
string

Tenant UUID.

id
required
string

Party UUID.

Party soft-deleted.

Missing or invalid JWT / API key

Tenant boundary violation or insufficient scope.

Party not found.

At least one document names the contact as its counterpart.