Moves a draft post to the trash bin.
A published post can also be deleted by the post ID
.
To permanently delete a post bypassing the trash bin, set the permanent
field value to true
. The post can't be restored after this.
You can only call this method when authenticated as a Wix app or Wix user identity.
Draft post ID.
Whether to bypass the trash bin and delete the post permanently.
Default: false
curl -X DELETE 'https://www.wixapis.com/blog/v3/draft-posts/0eed85df-8332-4d7b-9184-164a482f0b41' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>'
{}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.