POST

Restore From Trash Bin


Restores a deleted draft post from the trash bin by the provided ID.

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
POST
https://www.wixapis.com/blog/v3/draft-posts/trash-bin/{draftPostId}/restore

Path Params
draftPostIdstringRequired

Draft post ID.

Response Object
draftPostDraftPost

Restored draft post info.

Restore From Trash Bin Example 1
Request
cURL
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?