Get Roles

get

/iam/governance/selfservice/api/v1/roles

Returns all the roles in Oracle Identity Manager. The filter query parameter can be used to return a subset of the roles. SCIM filter is accepted. For example the query to get all roles whose name starts with Oracle is "/role?q=Role::Name sw Oracle". The attributes that are to be returned by the role can also be controlled by specifying the fields query parameter.

Request

Supported Media Types
Query Parameters
  • A Comma-separated list of the attribute names is to be passed to the fields query parameter. For example to get only the role display name, unique name and description the URI is "/role?fields=Role Unique Name,Role Display Name,Role Description" The response contains the Role Key and the Role id which are the unique identifiers for the role.
  • Search filter to get the records. SCIM filter is accepted. There should not be any spaces for attribute name. If you want to pass space in between attribute name then replace it with "::". Supported attributes in filter are "Role Name etc". Sample value for filter is "Role::Name sw Oracle"
Back to Top

Response

Supported Media Types

200 Response

Successful
Headers
Body ()
Root Schema : BulkRoleGetResponse
Type: object
Show Source
Nested Schema : roles
Type: array
Show Source
Nested Schema : Role
Type: object
Show Source
Nested Schema : fields
Type: array
Show Source
Nested Schema : Fields
Type: object
Show Source
Nested Schema : LinkDataInstances
Type: object
Show Source

401 Response

Unauthorized

404 Response

Resource not found

500 Response

Internal Server Error
Back to Top