Delete CMS Item via API call sends item to draft

Hi @jketcham :wave: welcome to the forum.

Something sounds wrong with that statement.

  • To unpublish, use only ?live=true calling the API only once.
  • To hard delete just call the API without appending that param (or set it to false) calling the API only once.

“Remove Item. The default behavior of the endpoint will delete the item from collection. You cannot retrieve a deleted item.”

“Append ?live=true to the querystring to unpublish an item”

https://developers.webflow.com/reference/remove-item

I just tried it and it worked as described for me:

Worked as expected, only called the API once and the item was hard deleted. The count went down from 5 to 4.

Next, I selected a new item and added the query param.

4 items still remaining, the correct item id is set to draft (unpublished). No hard deletes and only one API call.

What is confusing the response from the API on a soft delete, but oh-well.

If you reproduce these steps and get totally different results, you should contact support, you’re account is messed up.