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.
- policies
-
Type:
array
policyArrayAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
An array of policy elements.
Nested Schema : policyArray
Nested Schema : policy
Type:
object
Policy object representation.
- desc
-
Type:
string
- name
-
Type:
string
Required:true
Maximum Length:506
- value
-
Type:
string
Required: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:
object
The result of validation of the properties file with policies.
- valid
-
Type:
boolean
Required:true
- validationResults
-
Type:
array
validationResultsAdditional Properties Allowed:Minimum Number of Items:0
Nested Schema : validationResults