Skip to Content
devguard

Put the title and content of an approved version back into the draft. Nothing is published.

POST
/policies/{policyId}/versions/{version}/restore/

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

policyId*string
version*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/policies/string/versions/string/restore/"
{  "id": "string",  "title": "string",  "slug": "string",  "order": -9007199254740991,  "categoryId": "string",  "organizationId": "string",  "approverId": "string",  "status": "DRAFT",  "content": null,  "currentVersion": "string",  "lastApprovedAt": "string",  "lastApprovedBy": "string",  "reviewScheduleId": "string",  "lastReviewedAt": "string",  "nextReviewAt": "string",  "createdAt": "string",  "updatedAt": "string",  "archivedAt": "string"}

How is this page?