返回 WordPress
將 Knoon AI 與 WordPress 連接以自動化 AI 工作流程。
Delete a post/page/custom post type item by postId or slug.
wordpressXmlRpcDefaultDefaultDeletePost
測試版
內部
權限
沒有項目可顯示。
可選權限
沒有項目可顯示。
參數
| 名稱 | 類型 | 說明 | 必填 |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | 否 |
| postId | mustache | WordPress post ID. Either postId or slug is required. | 否 |
| slug | mustache | Post slug. Either postId or slug is required. | 否 |
| force | boolean | Force delete. Defaults to TRUE. | 否 |
退貨
| 名稱 | 類型 | 說明 |
|---|---|---|
| deleted | bool | True when deleted. |
| postId | string | Deleted post ID. |
| status | string | Previous post status. |