Skip to main content

Update Unreviewed Items

Update the unreviewed items for a given review result marking them as either revoke or maintain.

GET https://instance.securid.com/aveksa/command.submit?cmd=updateUnreviewedItems

Request

Parameters

updateUnreviewedItems
formatproperties - (Default) key=value. most useful when requesting a single object. If multiple objects are returned, values is a csv. ie key=value1,value2,value3 where value1 is the value for the first object, value2 is the value for the 2nd object, etc.

json - Useful format for parsing into javascript or other languages. See www.json.org for details.
The id of the review result. The id parameter is mutually exclusive with the name parameter.
revoke, maintain Indicates what state all the unreviewed items should be set to.
unassignedtrue, false Indicates assigned items should be updated. Defaults to true if not specified.
asset, component When the state is revoke, this parameter specifies how changes should be grouped to generate change requests.
commentAn optional comment to set for the items.

Headers

Bearer token
Acceptapplication/json
Content-Typeapplication/json

Response

Parameters

typeExecuted command name
nameThe name of the review.
statussuccess, failure
messageOptional message to return along with the status.

Examples

Request

curl -K -X GET  \
"https://instance.securid.com/aveksa/command.submit?cmd=updateUnreviewedItems&format=json&id=1&state=revoke" \
"&grouping=asset&comment=This is a sample comment" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json"

Response

{
"data": {
"type": "updateUnreviewedItems",
"status": "success",
"name": "UAR-3"
}
}