deleteDataType
Removes an unused data type definition. Records referencing it may become orphaned; confirm removal with user first.
Instructions
Delete a data type - Deletes a data type definition. Records (posts, portfolio groups) referencing a deleted data type may become orphaned - confirm with the user before deleting.
Use when: removing an unused data type. Posts/groups referencing it orphan - clean up first.
Required: data_id.
See also: updateDataType (modify without removing).
Returns: { status: "success", message: "record was deleted" }. No body beyond the confirmation string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_id | Yes | Data type primary key |