Reject Policy Update Request

This operation sets a policy update request status to REJECTED. A rejected update request is not picked up while processing the policy update requests in the queue. This operation is available only for the policy update requests with the Queued or Failed status. The presence of the reject link in the resource representation of the policy update request determines you can reject an update request.

Resource Representation

Following is a resource representation of a policy update request where the reject operation is available:

{
  ... policy update request properties ...
  "links": [
    {
      "href": "http://<host>:<port>/[api-context-root]/generic/policyupdaterequests/<id>",
      "rel": "self"
    },
    {
      "href": "http://<host>:<port>/[api-context-root]/policyupdaterequests/<id>/reject",
      "rel": "policyupdaterequest:reject"
      "httpMethod": "PUT"
    }
  ]
}

Reject Operation

  • The reject policy update request operation puts the policy update request in the REJECTED status.

  • The processedManually? flag on the policy update request becomes true which denotes a manually rejected update request.

Response Messages

See Response Messages for details on the HTTP status codes that the operation returns.

Success

The HTTP status 200 denotes a success. The operation returns the appropriate HTTP status code and a notification with error details for any error. This helps to identify and fix the errors and re-run the operation after fixing the errors.

Error Codes

The application returns the following error codes for this operation:

Table 1. Error Codes

Code

Severity

Message Text

POL-IP-POUR-004

Fatal

To change the policy update request process status to rejected, the policy update request must be in status Queued or Failed

Authorization

A user authorization configuration protects access to this operation. The relevant access restriction is policyupdaterequests.reject IP.