Skip to content

restorePublicationAsDraft

POST
/api/v1/content-history/{type}/{id}/publications/{publicationId}/restore-draft
curl --request POST \
--url https://example.com/api/v1/content-history/playlist/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/publications/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/restore-draft \
--header 'X-CSRF-Token: example'
type
required
string
Allowed values: playlist layout campaign
id
required
string format: uuid
publicationId
required
string format: uuid
X-CSRF-Token
required
string

Historical snapshot copied to the working draft; live state is unchanged

Historical snapshot no longer validates