getDeletedDraftPost( )


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

Uses the provided draftPostId to retrieve a previously deleted draft post from 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.
Method Declaration
Copy
Method Parameters
draftPostIdstringRequired

Draft post ID.

Returns
Return Type:Promise<GetDeletedDraftPostResponse>
Did this help?