deletePostType
Permanently delete a post type by ID. Use to remove a post type entirely; migrate existing posts to another type first to avoid orphaning.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"data_id": "<data_id>"
},
"name": "deletePostType"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_id | Yes |