Atrás a WordPress
Conectar Knoon AI con WordPress para automatizar flujos de trabajo de AI.
Delete a post/page/custom post type item by postId or slug.
wordpressXmlRpcDefaultDefaultDeletePost
Beta
Interno
Permisos
No hay elementos para mostrar.
Permisos opcionales
No hay elementos para mostrar.
Parámetros
| Nombre | Tipo | Descripción | Requerido |
|---|---|---|---|
| postType | mustache | Optional collection slug. Defaults to posts. | No |
| postId | mustache | WordPress post ID. Either postId or slug is required. | No |
| slug | mustache | Post slug. Either postId or slug is required. | No |
| force | boolean | Force delete. Defaults to TRUE. | No |
Devoluciones
| Nombre | Tipo | Descripción |
|---|---|---|
| deleted | bool | True when deleted. |
| postId | string | Deleted post ID. |
| status | string | Previous post status. |