Magidoc

deleteCrmRecords
Mutation

Soft-archives CRM records of one type; pass one ID for a single record. Records remain recoverable. Resolve IDs first and call only for an explicit archive, delete, or remove request; do not use it to close an opportunity—use closeOpportunity instead. Requires CRM access. Account batches fail when live child accounts exist outside the batch. Returns the archived-record count.

Arguments

#

workspaceId

ID !
Non-null

recordType

Non-null

recordIds

[ID !]!
Non-null

Response

#

Returns Int !.

Example

#