Restore path version

POST /api/v2/paths/:slug/history/:version/restore - Restores a published version into the draft.

POST/api/v2/paths/:slug/history/:version/restore

Restores a published version into the draft.

Required scope: paths (or *).

Path parameters

NameRequiredDescription
slugYesPath slug
versionYesNumeric published version

Example request

curl -s -X POST -H "Authorization: Bearer YOUR_TOKEN" \
  "https://benefitpath.com/api/v2/paths/medicare-quiz/history/3/restore"

Example response

{
  "success": true,
  "path": { "slug": "medicare-quiz", "label": "Medicare Quiz" }
}

See Paths and Errors.