Delete records
heliyos_records_deletePermanently deletes 1–100 records of one object type by ID, with no undo. Use it to remove confirmed records from your CRM workspace.
Instructions
Permanently deletes up to 100 records of one object by id. This cannot be undone: confirm with the user first. All ids must belong to the given object_type; the API ignores ids from other objects and does not confirm a count. Returns structuredContent {deleted_count (ids sent), record_ids}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema_id | No | Object schema id. Required when object_type is "custom"; the error lists the available ones. | |
| record_ids | Yes | Ids of the records to delete, 1 to 100. | |
| object_type | Yes | Which object: "company", "person", "deal", or "custom" (custom objects also need schema_id). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record_ids | Yes | ||
| deleted_count | Yes | Number of distinct ids sent; the API does not confirm the count. |