deletePostType
Permanently remove a post type by its ID. Existing posts become orphaned; migrate them first. Action cannot be undone.
Instructions
Delete a post type - Permanently delete a posttype record by ID. Destructive - cannot be undone via API.
Use when: removing a post type entirely. Existing posts of this type become orphaned - consider migrating them to another type first via a bulk updateSingleImagePost/updateMultiImagePost.
Required: data_id.
See also: updatePostType (modify without removing).
Destructive: confirm intent with the user before bulk use. No soft-delete via API - records removed are not recoverable.
Returns: { status: "success", message: "record was deleted" }. No body beyond the confirmation string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_id | Yes |