DELETE

Remove From Trash Bin


Permanently deletes a draft post that is currently in the trash bin.

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/trash-bin/{draftPostId}

Path Params
draftPostIdstringRequired

Draft post ID.

Response Object
Returns an empty object.
Remove From Trash Bin Example 1
Request
cURL
curl -X DELETE \ 'https://www.wixapis.com/blog/v3/draft-posts/trash-bin/996cb649-d428-405d-b9ed-4facd46e2443' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>' \
Response
JSON
{}
Errors

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

Did this help?