Publish Content Items in Marketing Cloud Next
When you create a content item to your content workspace, you can’t use it in messages until you publish it.
To publish content, issue a POST request to the /services/data/{apiVersion}/connect/cms/contents/publish endpoint. The body of the request must contain an array called contentIds. Each item in the array is the content ID (managedContentId) of a content item that you want to publish.
If the request is successful, the response includes a publish date and deployment ID.
To revert a published content item back to draft status, issue a POST request to the /services/data/{apiVersion}/connect/cms/contents/unpublish endpoint.
You can unpublish content that has a status of Published. Unpublishing removes the content from active use. The content item itself isn’t deleted, and you can republish it later.
- Create and Manage Emails in Marketing Cloud
- API Reference: Publish CMS Content
- API Reference: Unpublish CMS Content