DELETE

Delete Draft Post


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.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Blog
Learn more about app permissions.
Endpoint
DELETE
https://www.wixapis.com/blog/v3/draft-posts/{draftPostId}

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?