Get Policy

get

/access-governance/access-controls/20250331/policies/{policyId}

Returns details of a policy with a given ID.

Request

Path Parameters
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 Policy for the given id
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 : Policy
Type: object
Policy model.
Show Source
Nested Schema : assignments
Type: array
List of assignments associated with Permission Association.
Show Source
Nested Schema : IdInfo
Type: object
Generic identifying information object.
Show Source
Nested Schema : customAttributes
Type: object
Metadata associated with the permission association
Show Source
Nested Schema : owners
Type: array
List of owner entities
Show Source
Nested Schema : tags
Type: array
List of tags attached to the Permission Association.
Show Source
Nested Schema : PolicyAssignment
Type: object
PolicyAssignment Model.
Show Source
Nested Schema : accessBundles
Type: array
List of access bundles
Show Source
Nested Schema : customAttributes
Type: object
Metadata associated with the permission association
Show Source
Nested Schema : identityGroups
Type: array
List of identity groups
Show Source
Nested Schema : roles
Type: array
List of roles
Show Source
Nested Schema : Info
Type: object
Generic information object.
Show Source
Nested Schema : OwnerSummary
Type: object
Owner entity object
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 details of a specific policy. Replace placeholder values with the actual values.

cURL Example - Without Query Parameters

curl -i -X GET \
   -H "Authorization:Bearer <your access token>" \
 'https://<host>/access-governance/access-controls/20250331/policy/${policyId}'

Example of the Response Body

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

{
    "id": "958b9x2a-0993-4x16-8ff2-d4730307c1c0",
    "name": "Database Admin Policy",
    "description": "Defines administrative privileges for managing database systems, including schema, object management, and maintenance operations.",
    "status": "ACTIVE",
    "timeCreated": "2025-04-10T20:58:00.273Z",
    "timeUpdated": "2025-04-10T20:58:00.273Z",
    "ownershipCollectionId": null,
    "owners": [
        {
            "id": "globalId.12512xx3-eedc-4d6a-b6d4-6c0f6537bad2.18.02e36bbb4b20x421b44aa046b3ceb16a",
            "name": "Amel MacLead",
            "isPrimary": true
        }
    ],
    "createdBy": {
        "id": "globalId.12512xx3-eedc-4d6a-b6d4-6c0f6537bad2.18.02e36bbb4b20x421b44aa046b3ceb16a",
        "name": "Amel MacLead",
        "displayName": "Amel MacLead"
    },
    "updatedBy": {
        "id": "globalId.12512xx3-eedc-4d6a-b6d4-6c0f6537bad2.18.02e36bbb4b20x421b44aa046b3ceb16a",
        "name": "Amel MacLead",
        "displayName": "Amel MacLead"
    },
    "tags": null,
    "customAttributes": null,
    "displayName": "Database Admin Policy",
    "assignments": [
        {
            "assignmentId": "222075f6-xxx-4c0e-b42c-47dbbaf0546d",
            "assignmentType": "ACCESS_BUNDLE",
            "identityType": "HUMAN",
            "identityGroups": [
                {
                    "id": "a4b3dd4b-xxx-4d77-858c-383a9c809f35",
                    "name": "Database Admin Group",
                    "displayName": "Database Admin Group",
                    "owners": [
                        {
                            "id": "globalId.12512xx3-eedc-4d6a-b6d4-6c0f6537bad2.18.02e36bbb4b20x421b44aa046b3ceb16a",
                            "name": "Amel MacLead",
                            "isPrimary": true
                        }
                    ]
                }
            ],
            "accessBundles": [
                {
                    "id": "feb5f02e-324a-4fb8-a9b6-a6da93139387",
                    "name": "DB-Admin-operations-0404b",
                    "displayName": "DB-Admin-operations-0404b",
                    "owners": [
                        {
                            "id": "globalId.12512xx3-eedc-4d6a-b6d4-6c0f6537bad2.18.02e36bbb4b20x421b44aa046b3ceb16a",
                            "name": "Amel MacLead",
                            "isPrimary": true
                        }
                    ]
                },
                {
                    "id": "fdae3a05-8004-4f7d-98f7-a82f749c8de0",
                    "name": "Database Schema Management",
                    "displayName": "Database Schema Management",
                    "owners": [
                        {
                            "id": "globalId.12512xx3-eedc-4d6a-b6d4-6c0f6537bad2.18.02e36bbb4b20x421b44aa046b3ceb16a",
                            "name": "Amel MacLead",
                            "isPrimary": true
                        }
                    ]
                },
                {
                    "id": "402da86b-87b7-4792-9121-dc10516f119b",
                    "name": "Database Object Management",
                    "displayName": "Database Object Management",
                    "owners": [
                        {
                            "id": "globalId.12512xx3-eedc-4d6a-b6d4-6c0f6537bad2.18.02e36bbb4b20x421b44aa046b3ceb16a",
                            "name": "Amel MacLead",
                            "isPrimary": true
                        }
                    ]
                }
            ],
            "roles": [],
            "customAttributes": null
        }
    ],
    "riskLevel": null
}
Back to Top