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:
objectThe assigned policy representation for the POST method.
- name
-
Type:
stringRequired:trueMaximum Length:506 - value
-
Type:
stringRequired: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:
stringRequired:trueMessage that provides the error details. - o:ecid
-
Type:
stringRequired:trueExecution 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:
stringRequired:trueThe service's error code. - o:errorDetails
-
Type:
objecterrorDetailsAdditional Properties Allowed: - o:errorPath
-
Type:
stringRequired:trueThe relative point in the API path where the error occurred. - status
-
Type:
integer(int64)Required:trueHTTP status code. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for more details. - title
-
Type:
stringRequired:trueSummary of the problem. - type
-
Type:
stringRequired:trueThe URI to the link that provides details about the HTTP status code.
Nested Schema : errorDetails
Type:
object- detail
-
Type:
stringRequired:true - o:errorDetails
-
Type:
objecterrorDetailsAdditional Properties Allowed: - title
-
Type:
stringRequired:trueSummary of the problem. - type
-
Type:
stringRequired:trueThe URI to the link that provides details about the HTTP status code.