deleteDataType
Remove an unused data type definition from your Brilliant Directories site. Clean up referencing posts or portfolio groups first to avoid orphaned records, then delete the data type.
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 |