Delete blog post

Tool ID: kocodesk_blog_post_delete

Summary

Permanently delete a blog post together with its article body, all its translations and its category assignments.

When to use it

  • Removing a post that should never have been published.
  • Clearing out old test posts.

What you need

Requirement Required?
Metraclick connection Yes
Tool enabled for your account Yes
KocoDesk credentials Yes
Blog plugin enabled for the site Yes

Parameters

Parameter Required? Description
post_id Yes The post to delete. Use a translation's id to remove only that language.
confirm Yes Must be true; nothing is deleted without it.

What you get back

Confirmation that the post was deleted.

Example prompts

Delete the test blog post I created earlier. Ask me to confirm first.

Remove the French translation of blog post 42 but keep the original, after I confirm.

Tips

  • Mutating โ€” you must confirm.
  • This cannot be undone. Deleting the main post also deletes every content block in the article and every translation.
  • If you only want to take a post off the site, hide it with Update blog post instead.

Related