Delete post
Delete one of your posts, from the queue, drafts or the blog.
DELETE https://cotlet.dev/api/v1/tumblr/posts/{post_id}
write Confirm
Deletes one post of yours. A published post disappears from your blog and from followers' dashboards, and a deleted post cannot be brought back with this tool. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| blog string required | string | Blog name, e.g. 'studio-notes' for studio-notes.tumblr.com. Names come from list_blogs. |
| post_id string required | string | Post ID from list_posts, list_queue or list_drafts. |
Request
curl -X DELETE "https://cotlet.dev/api/v1/tumblr/posts/post_8c41d2?blog=studio-notes" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("tumblr", "delete_post", {"blog":"studio-notes","post_id":"post_8c41d2"}) const result = await cotlet.call('tumblr', 'delete_post', {"blog":"studio-notes","post_id":"post_8c41d2"}); cotlet call tumblr delete_post --data '{"blog":"studio-notes","post_id":"post_8c41d2"}' Example response
{
"post_id": "771198400021",
"status": "deleted"
}