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:
objectPolicies import request.
Show Source
-
policies:
array policyArray
Minimum Number of Items:
0Unique Items Required:trueAn array of policy elements.
Nested Schema : policyArray
Type:
arrayMinimum Number of Items:
0Unique Items Required:
trueAn array of policy elements.
Show Source
-
[0]:
object policy
Policy object representation.
Nested Schema : policy
Type:
objectPolicy object representation.
Show Source
-
desc:
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:
objectThe result of validation of the properties file with policies.
Show Source
-
valid:
boolean
-
validationResults:
array validationResults
Minimum Number of Items:
0