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
POST /api/v2/paths/:slug/history/:version/restore - Restores a published version into the draft.
/api/v2/paths/:slug/history/:version/restore
Restores a published version into the draft.
Required scope: paths (or *).
paths
*
slug
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.