Actions12
Post → Delete
AI-generatedSummary
Delete a WordPress post by ID, moving it to the trash by default or permanently deleting it when Force Delete is enabled.
Inputs
- Post ID (required) — Numeric ID of the post to delete.
- Force Delete — Defaults to false, which moves the post to the trash. Set to true to permanently delete it.
Output shape
A single result item indicating whether deletion succeeded.
The operation returns a boolean success result formatted for n8n; request errors are reported as errors.