Pardon our mess These API docs are a work in progress. Endpoints, examples, and behavior may change as we continue to develop the Partner API v2.

Partner API

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
curl -s -X POST -H "Authorization: Bearer YOUR_TOKEN" \
  "https://benefitpath.com/api/v2/paths/medicare-quiz/history/3/restore"
{
  "success": true,
  "path": { "slug": "medicare-quiz", "label": "Medicare Quiz" }
}

See Errors for the standard error envelope and rate limits.