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:
objectPolicies import request.
- policies
-
Type:
arraypolicyArrayAdditional Properties Allowed:Minimum Number of Items:0Unique Items Required:trueAn array of policy elements.
Nested Schema : policyArray
Nested Schema : policy
Type:
objectPolicy object representation.
- desc
-
Type:
string - name
-
Type:
stringRequired:trueMaximum Length:506 - value
-
Type:
stringRequired:true
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:
objectThe result of validation of the properties file with policies.
- valid
-
Type:
booleanRequired:true - validationResults
-
Type:
arrayvalidationResultsAdditional Properties Allowed:Minimum Number of Items:0
Nested Schema : validationResults