Set Multiple Policies

patch

/mobile/tools/1.0/policies

Inserts new policies and updates existing ones according to the provided JSON payload.

Request

Supported Media Types
  • application/json
Body Parameter
Policies import request.
Root Schema : policiesImport
Type: object
Policies import request.
Nested Schema : policyArray
Type: array
Minimum Number of Items: 0
Unique Items Required: true
An array of policy elements.
Nested Schema : policy
Type: object
Policy object representation.

Response

Supported Media Types
  • application/json
200 Response
The validation report was returned in the response. The policies were set only if all policies were valid.
Body
The result of validation of the properties file with policies.
Root Schema : policyValidationReport
Type: object
The result of validation of the properties file with policies.
Nested Schema : validationResults
Type: array
Minimum Number of Items: 0