Restore a soft-deleted post
POST /admin/posts/{id}/restore
POST
/admin/posts/{id}/restore
Admin-only. Clears deleted_at + deleted_reason on the
post row and fires an admin.post.restored audit event.
Returns 404 if the post is already live (or doesn’t exist).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Responses
Section titled “ Responses ”Restored
Authentication required, missing, or invalid
object
error
required
Human-readable error summary
string
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
error
required
Human-readable error summary
string
Example
the request could not be completedResource not found
object
error
required
Human-readable error summary
string
Example
the request could not be completed