Delete a field
heliyos_fields_deletePermanently delete a field and all its values from every record in an object; confirm the field and object first, as built-in required fields are refused.
Instructions
Permanently deletes one field of an object by field_id (from heliyos_objects_get) AND its value on every record. This cannot be undone: confirm with the user first, naming the field and the object. Built-in required fields (for example a company's name) are refused by the platform. Returns structuredContent {field_id, key, deleted}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_id | Yes | field_id: a 24-character hex id. | |
| schema_id | No | Object schema id. Required when object_type is "custom"; the error lists the available ones. | |
| object_type | Yes | Which object: "company", "person", "deal", or "custom" (custom objects also need schema_id). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| deleted | Yes | ||
| field_id | Yes |