List Policy statement identities for the given policy statement

get

/access-governance/access-reviews/20250331/accessReviews/{accessReviewId}/policyStatements/{policyStatementId}/identities

Retrieves details of policy statement identities for the policy statement.

Request

Path Parameters
Query Parameters
  • 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 is displayName.
    Default Value: displayName
    Allowed Values: [ "displayName", "domainName", "membership", "email" ]
  • The sort order to use, either 'ASC' or 'DESC'.
    Allowed Values: [ "ASC", "DESC" ]
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

The details of policy statement for given policy.
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 : PolicyStatementIdentitySummaryCollection
Type: object
List of policy statement identity summaries.
Show Source
Nested Schema : items
Type: array
List of policy statement identity summaries.
Show Source
Nested Schema : PolicyStatementIdentitySummary
Type: object
The policy statement identity associated with the given policy statement.
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 identities part of a policy statement in a policy access control review task. Use the Access Control review task id for a policy, policy statement id to retrieve resource count included in the policy.

cURL Example

curl -i -X GET \
   -H "Authorization:Bearer <your access token>" \
 '${service-instance-url}/access-governance/access-reviews/accessReviews/${accessReviewId}/policyStatements/${policyStatementId}/identities

Example of the Response Body

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

{
  "items": [
    {
      "id": "globalId.OCI.488xxxx-xxxx-xxxx-xxxx-xxxxxx.3bxxxxxx",
      "name": "bill.clark@example.com",
      "displayName": "Bill Clark",
      "domainName": "Default",
      "membership": null,
      "email": "bill.clark@example.com"
    },
    {
      "id": "globalId.OCI.488xxxx-xxxx-xxxx-xxxx-xxxxxx.2exxxxxx",
      "name": "john.doe@example.com",
      "displayName": "John Doe",
      "domainName": "Default",
      "membership": null,
      "email": "john.doe@example.com"
    }
  ]
}
 
Back to Top