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
Policies import request.
Root Schema : policiesImport
Type:
object
Policies import request.
Show Source
-
policies(optional):
array policyArray
Minimum Number of Items:
0
Unique Items Required:true
An array of policy elements.
Nested Schema : policyArray
Type:
array
Minimum Number of Items:
0
Unique Items Required:
true
An array of policy elements.
Show Source
-
Array of:
object policy
Policy object representation.
Nested Schema : policy
Type:
object
Policy object representation.
Show Source
-
desc(optional):
string
-
name:
string
Maximum Length:
506
-
value:
string
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.
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.
Show Source
-
valid:
boolean
-
validationResults(optional):
array validationResults
Minimum Number of Items:
0