Restore a versioned item - currently supported for content and assets.

Use this endpoint to restore a specific version of a content or an asset item by sending the JSON payload as the request body. The restored item will always be a draft - overwriting an existing one or creating a new one. Link to the new draft is sent as a response-header Location.

User roles: admin, manager, editor

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Optional projectId that the item belongs to.

Responses
200

A draft version already exists for the item and was used to restore the item's version.

201

No draft version already existed for the item and a new draft item was created to restore the item's version.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json