Restores a past version of a post
POST/api/v4/posts/:post_id/restore/:restore_version_id
Restores the post with post_id to its past version having the ID restore_version_id.
Permissions
Must have read_channel permission for the channel the post is in. Must have edit_post permission for the channel the post is being moved to. Must be the author of the post being restored.
Minimum server version: 10.5
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 501
Post restored successful
Invalid or missing parameters in URL or request body
No access token provided
Do not have appropriate permissions
Resource not found
Feature is disabled