Restore a deleted post
restore_postBring a post back from the trash. A post reported as in the trash still has its content intact, so restoring it recovers the original post instead of creating a replacement. Works for 30 days after deletion; after that the post cannot be recovered. A post that was SCHEDULED or PUBLISHING comes back as a DRAFT, because deleting it purged its schedules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||