Description
Remove one or more objects from all publishing destinations where it is published.
Parameters (* denotes an optional parameter)
Ids* (Mandatory if no Conditions specified)
A comma-separated list of database ids of the objects to un-publish.
Conditions* (Mandatory if no Ids specified)
This optional string parameter contains the name of a search configuration object (loaded in the database) which is used to select the objects to unpublish. If not specified, the ids of the objects to unpublish must be specified directly using the Ids parameter.
Pars*
Optional parameters used to replace variable parts in the search conditions and passed to the XSL transformation used to generate the objects XML (if any). Parameters are constructed as a list of name-value pairs in the format 'name1:value1;name2:value2...'; For example, 'folderId:30;author:smith' defines a 'folderId' parameter with value 30 and a 'author' parameter with value 'smith'.
Example
Unpublish the object with id=27694 from all destinations where it is currently published:
http://demo.teradp.com/Tark4/do.ashx?Cmd=unpublish&ids=27694
NOTE: If any of the publishing destinations where the object is published have an associated Publish Template, with an Unpublish workflow defined, that workflow will automatically be executed if the call is successful.
See also