Moves a draft post to the trash bin.
A published post can also be deleted by the post.id
. See the Posts API (SDK | REST) for more information about posts.
To permanently delete a post bypassing the trash bin, set the permanent
field value to true
. The post can't be restored after this.
Draft post ID.
Options for deleting a draft post.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.