Voltar para WordPress
Conectar Knoon AI com WordPress para automatizar fluxos de trabalho de AI.
Delete a post/page/custom post type item by postId or slug.
wordpressXmlRpcDefaultDefaultDeletePost
Beta
Interno
Permissões
Não há itens para exibir.
Permissões opcionais
Não há itens para exibir.
Parâmetros
| Nome | Tipo | Descrição | Obrigatório |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | Não |
| postId | mustache | WordPress post ID. Either postId or slug is required. | Não |
| slug | mustache | Post slug. Either postId or slug is required. | Não |
| force | boolean | Force delete. Defaults to TRUE. | Não |
Devoluções
| Nome | Tipo | Descrição |
|---|---|---|
| deleted | bool | True when deleted. |
| postId | string | Deleted post ID. |
| status | string | Previous post status. |