Unpublish entries and assets in bulk

POST https://{{base_url}}/v3/bulk/unpublish

The Unpublish entries and assets in bulk request allows you to unpublish multiple entries and assets at the same time.
To configure the permissions for your application via OAuth, please include the cm.bulk-operations:unpublish scope.

To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken. 
Read more about it in Authentication.


For more information, refer to the Unpublish entries and assets in bulk API Reference document

Request Params

KeyDatatypeRequiredDescription
skip_workflow_stage_checkbooleanSet this to 'true' to publish the entries that are at a workflow stage where they satisfy the applied publish rules.
approvalsbooleanSet this to 'true' to publish the entries that do not require an approval to be published.

Request Body

{"entries"=>[{"content_type"=>"news", "uid"=>"bhs12565525612", "locale"=>"en-us"}, {"content_type"=>"article", "uid"=>"bjhcud11787212", "locale"=>"en-us"}], "workflow"=>{"workflow_stage"=>{"comment"=>"String Comment", "due_date"=>"Thu Dec 01 2018", "notify"=>false, "uid"=>"bueyr8723823", "assigned_to"=>[{"uid"=>"bhgt28726372", "name"=>"user_name", "email"=>"user_email_ID"}], "assigned_by_roles"=>[{"uid"=>"gsshgs27627361", "name"=>"Content Manager"}]}}, "locales"=>["en-us"], "environments"=>["{{env_uid}}"]}

HEADERS

KeyDatatypeRequiredDescription
api_keystringEnter the API key of the stack.
authtokenstringEnter your authtoken.
authorizationstringFor this call we recommend you to use management token.
branchstringEnter your branch unique ID.
api_versionstringEnter the API version to enable Nested Reference Publishing.
Content-Typestring