Add Policy
put
/mobile/tools/1.0/policies
Associates a policy with the environment.
Request
Supported Media Types
- application/json
Body Parameter
The assigned policy representation for the POST method.
Root Schema : assignedPolicyCreate
Type:
object
The assigned policy representation for the POST method.
- name
-
Type:
string
Required:true
Maximum Length:506
- value
-
Type:
string
Required:true
Response
Supported Media Types
- application/json
204 Response
The association was updated. No content was returned in this response.
400 Response
The request is missing the policy data or the content is invalid.
Body
Root Schema : error
Type:
object
- detail
-
Type:
string
Required:true
Message that provides the error details. - o:ecid
-
Type:
string
Required:true
Execution context ID, which is a unique identifier to correlate events or requests that are associated with the same transaction across several components. - o:errorCode
-
Type:
string
Required:true
The service's error code. - o:errorDetails
-
Type:
object
errorDetailsAdditional Properties Allowed: - o:errorPath
-
Type:
string
Required:true
The relative point in the API path where the error occurred. - status
-
Type:
integer
(int64
)Required:true
HTTP status code. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for more details. - title
-
Type:
string
Required:true
Summary of the problem. - type
-
Type:
string
Required:true
The URI to the link that provides details about the HTTP status code.
Nested Schema : errorDetails
Type:
object
- detail
-
Type:
string
Required:true
- o:errorDetails
-
Type:
object
errorDetailsAdditional Properties Allowed: - title
-
Type:
string
Required:true
Summary of the problem. - type
-
Type:
string
Required:true
The URI to the link that provides details about the HTTP status code.