Get a list of Ownership Access Reviews

get

/access-governance/access-reviews/20250331/accessReviews/ownership

Returns details of all ownership access reviews for a given user with support of pagination.

Request

Query Parameters
  • Collection Format: multi
    Maximum Number of Items: 5
    The list of keywords to filter on
  • Minimum Value: 1
    Maximum Value: 1000
    The maximum number of items to return.
    Default Value: 10
  • Minimum Length: 1
    A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
  • The field to sort by. The default value will be assignmentName.
    Default Value: assignmentName
    Allowed Values: [ "owner", "assignmentName", "daysRemaining", "campaignName" ]
  • The sort order to use, either 'ASC' or 'DESC'.
    Allowed Values: [ "ASC", "DESC" ]
  • Minimum Length: 1
    Maximum Length: 255
    Identifier of the user who is performing the operation.
Header Parameters
  • The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Back to Top

Response

Supported Media Types

200 Response

A page of ReviewTaskSummary objects.
Headers
  • For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
  • The total number of items.
Body ()
Root Schema : OwnershipAccessReviewSummaryCollection
Type: object
Results of an ownership access reviews search.
Show Source
Nested Schema : items
Type: array
List of ownership access review summaries.
Show Source
Nested Schema : OwnershipAccessReviewSummary
Type: object
The summary of ownership review task.
Show Source

400 Response

Bad Request
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

429 Response

Too Many Requests
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

Default Response

Unknown Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source
Back to Top

Examples

The following example shows how to retrieve a list of all the ownership reviews for an identity. The userId query parameter is mandatory while retrieving a list.

cURL Example - With Query Parameters

curl -i -X GET \
   -H "Authorization:Bearer <your access token>" \
 'https://${service-instance}/access-governance/access-reviews/${version}/accessReviews/ownership?userId=${userId}'

Example of the Response Body

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

{
    "items": [
        {
            "id": "ocid1.agcsreviewtask.oc1.iad.amaaaaaaebkbezqa2vvkypxxxxxwj4vuw34otxxxxxk5q6w5lv2xxxxxg2q",
            "campaignId": "ocid1.agcscampaign.oc1.iad.amaaaaaaebkbezqazzbaxxxxx77f5sh5nfakxxxxxgzkjnmm3vvfxxxxxzrq",
            "assignmentName": "Identity Collection Review - Finance Team Ownership",
            "assignmentDescription": "Ownership review of finance team identity collection",
            "assignmentType": "PERMISSION",
            "owner": "John Doe",
            "recommendation": "REVIEW",
            "campaignName": "Finance Team Identity Ownership Review - Apr 2025",
            "daysRemaining": 32,
            "templateType": "AG",
            "campaignType": "OWNERSHIP"
        },
        {
            "id": "ocid1.agcsreviewtask.oc1.iad.amaaaaaaebkbezqaxw4pqsxxxxx2qfp5ypkj2sxxxxxjn46ymgiguixxxxxxpq",
            "campaignId": "ocid1.agcscampaign.oc1.iad.amaaaaaaebkbezqazzbaxxxxx77f5sh5nfakxxxxxgzkjnmm3vvfxxxxxzrq",
            "assignmentName": "HR Basic Privilege Ownership Access Bundle Review",
            "assignmentDescription": "Review of HR team's basic privilege ownership access",
            "assignmentType": "PERMISSION",
            "owner": "Jane Smith",
            "recommendation": "REVIEW",
            "campaignName": "HR Privilege Ownership Review - Apr 2025",
            "daysRemaining": 35,
            "templateType": "AG",
            "campaignType": "OWNERSHIP"
        }
    ]
}
Back to Top