{ "error": { "code": "CRM_RECORD_HAS_OPEN_OPPORTUNITIES", "message": "The company still has open deals." } }
Moves a record to the trash. Its notes, tasks and list entries disappear with it and return when the
record is restored in the app. The record’s domains and addresses become free for other records. The
API cannot restore or empty the trash.
Scope crm:write. The token owner needs the right to delete the type. Recorded in the audit log with the token’s name. A second call answers 404.