Retrieve members in a role

get

/bpm/api/4.0/identities/roles/{roleid}/members

Retrieves member details of an app role by role ID

Request

Path Parameters
Query Parameters

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : Collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : items
Type: object

400 Response

Bad request

401 Response

Unauthorized

404 Response

Role not found for role ID

500 Response

Internal Server Error

Examples

The following example shows how to retrieve the member details of a role by submitting a GET request on the REST resource.

Send Request

The following example shows the contents of the send request:

https://example.com/bpm/api/<version>/identities/roles/<roleid>/members
  • example.com is the host where Oracle Process Cloud Service is running.

  • <version> is the REST API version.

  • <roleid> is the unique ID for a role.

Example of Response Body

The following example shows a response body for retrieving a user:

{
    "count": 1,
    "hasMore": false,
    "items": [
        {
            "levels": 0,
            "id": "Admin",
            "type": "user",
            "lastName": "Admin",
            "country": "US",
            "language": "en",
            "adminFlag": false,
            "reportees": {
                "hasMore": false,
                "items": []
            }
        }
    ],
    "links": [
        {
            "href": "http://example.com:443/bpm/api/4.0/identities/roles/ApplicationA.ProcessOwner/members",
            "length": 0,
            "rel": "self"
        },
        {
            "href": "http://example.com:443/bpm/api/4.0/identities/roles/ApplicationA.ProcessOwner/members",
            "length": 0,
            "rel": "canonical"
        },
        {
            "href": "http://example.com:443/bpm/api/4.0/identities/roles/ApplicationA.ProcessOwner",
            "length": 0,
            "rel": "parent"
        }
    ]
}