Creates an association between the policy and the endpoint. If another association already existed for the specified endpoint, this will replace that association.
Request:
Content-Type: application/json
{
"policy": "--policy-id--"
}
Response:
Status: 204 No Content
Verifies the existence of an association between a policy and an endpoint. A GET version of this API is also supported, with the same response code.
Response:
Status: 200 OK
Link: http://identity:35357/v3/policies/--policy-id--; rel=policy
Response:
Status: 200 OK
Link: http://identity:35357/v3/policies/--policy-id--; rel=policy
{
"policy": {
"blob": "--serialized-blob--",
"id": "--policy-id--",
"links": {
"self": "http://identity:35357/v3/policies/--policy-id--"
},
"type": "--serialization-mime-type--"
}
}
Deletes an association between the policy and the endpoint.
Response:
Status: 204 No Content