projectdoc Toolbox

Delete properties for a set of documents specified by their IDs.

Example

 

It is typically a good idea to fetch the the list of matching document IDs first. On this result set, use a patch call.

cURL Call
curl -n -X PATCH  -H "Content-Type: application/json" \
    https://example.com/confluence/rest/projectdoc/1/document?id-list=12845218,12845219,12845221 \
    -d @deleteParentService.json
 

Using curl -n assumes you are using a .netrc file to authenticate. Please see REST Login to Confluence with cURL for more options.

deleteParentService.json
{
    "property": [
      {
        "name": "Parent Service",
        "position": "delete"
      }
    ]
}