Updates policy violation task.

put

/iam/governance/selfservice/api/v1/policyviolations/{pvid}/causes/{causeid}

Updates the policy violation task by either assigning to another user or taking an action on the task.

Request

Supported Media Types
Path Parameters
Body ()
.
Root Schema : SinglePolicyViolationTaskPUT
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful
Headers
Body ()
Root Schema : PolicyViolationTaskPUTResponse
Type: object
Show Source
Nested Schema : LinkDataInstances
Type: object
Show Source

401 Response

Unauthorized

403 Response

Forbidden

404 Response

Entity not found

500 Response

Internal Server Error

Default Response

Unexpected error
Back to Top

Examples

This example demonstrates the ability to update a policy violations cause for a given policy violation task. The information shown here is against a pseudo system and serves as a prototype.

cURL Example

curl  -H "Content-Type: application/json"  -X PUT  -u username:password  -d @put.json https://pseudo.com/iam/governance/selfservice/api/v1/policyviolations/A20CDA1435B34975AFB94B8D251A4BEB/causes/AC817D291D0048F1BBA8EF8F3848D74C

Example of PUT Request Body

The following example shows the contents of the request body in JSON format.

{
  "requestId": "req1",
  "action": "FIXED_MANUALLY",
  "comment": "CommentABC",
  "riskAcceptedExpirationDate": "02-Oct-16"
}

Example of PUT Response Body

The following example shows the contents of the response body in JSON format:

{
  "links": [
    {
      "rel": "self",
      "href": "http://pseudo.com/iam/governance/selfservice/api/v1/policyviolations/A20CDA1435B34975AFB94B8D251A4BEB/causes/AC817D291D0048F1BBA8EF8F3848D74C"
    }
  ]
}
Back to Top