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.

Permission Scopes
Read Draft Blog Posts
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
draftPostIdstringRequired

Draft post ID.

Returns
Return Type:Promise<GetDeletedDraftPostResponse>
Errors

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

Did this help?