PUT api/document/bulksetprivacy

Sets the document privacy for existing documents. This is used to change a document from being publicly accessible to being private, and vice versa. Documents that fail validation will be skipped

Request Information

URI Parameters

None.

Body Parameters

BulkSetPrivacyCommandDataContract
NameDescriptionTypeAdditional information
DocumentIds

Collection of integer

None.

SetAsPublic

boolean

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "DocumentIds": [
    1,
    2
  ],
  "SetAsPublic": true
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.