Add Policy
put
/mobile/tools/1.0/policies
Associates a policy with the environment.
Request
Supported Media Types
- application/json
The assigned policy representation for the POST method.
Root Schema : assignedPolicyCreate
Type:
object
The assigned policy representation for the POST method.
Show Source
-
name:
string
Maximum Length:
506
-
value:
string
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.
Root Schema : error
Type:
Show Source
object
-
detail:
string
Message that provides the error details.
-
o:ecid:
string
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:
string
The service's error code.
-
o:errorDetails(optional):
object errorDetails
-
o:errorPath:
string
The relative point in the API path where the error occurred.
-
status:
integer(int64)
HTTP status code. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for more details.
-
title:
string
Summary of the problem.
-
type:
string
The URI to the link that provides details about the HTTP status code.
Nested Schema : errorDetails
Type:
Show Source
object
-
detail:
string
-
o:errorDetails(optional):
object errorDetails
-
title:
string
Summary of the problem.
-
type:
string
The URI to the link that provides details about the HTTP status code.