Returns all Role resources.
GET/Roles
This endpoint returns all Role resources. Attributes to include in the response can be specified with the 'attributes' query parameter. Attributes to exclude from the response can be specified with the 'excludedAttributes' query parameter. The core schema is urn:ietf:params:scim:schemas:sailpoint:1.0:Role.
Request
Query Parameters
Allows for query filters according to RFC-7644, Section 3.4.2.2 - not all operations are supported.
Example: filter=name eq "Data Analyst"
Allows sorting the results by a resource's attributes.
Example: sortBy="name"
Determines what order to sort results in.
Example: sortOrder="descending"
Determines the starting index of the result set.
Example: startIndex=1100
Specifies the number of results per page.
Example: count=10
The Role attributes to include in the response. The query parameter value is a comma-separated list of fields to be returned in the response for each Role.
Example: attributes=name,type,classifications
The attributes listed will be the only ones returned in the response, with the exception of id, schemas, and meta, which are always returned for a Role.
The Role attributes to exclude frome the response. The query parameter value is a comma-separated list of fields to be excluded from the response for each Role.
Example: excludedAttributes=permits,requirements,inheritance
The attributes listed will be the only ones excluded frome the response, with the exception of id, schemas, and meta, which are always returned for a Role.
Responses
- 200
Returns all SCIM Role resources.
- application/json
- application/scim+json
- Schema
- Example (from schema)
Schema
Array [
]
Number of Role resources returned
The starting index of the resource set list. Can be specified with startIndex query parameter.
SCIM Schema used for response.
Resources
undefined[]
IIQ ID of the Role.
Unique name for the Role. This name MUST be unique across the entire set of Roles.
A list of localized descriptions of the Role.
The type of the Role.
Displayable name of the Role.
Flag to indicate this Role is enabled or active.
The date the Role will turn from inactive/disabled to active/enabled.
The date the Role will turn from active/enabled to inactive/disabled.
owner
object
The owner of the Role.
Display name of the Role owner.
ID of the Role owner.
URI reference of the Role owner resource.
inheritance
array
Parent Roles this role inherits from.
Display name of the parent Role.
ID of the parent Role.
URI reference of the parent Role resource.
requirements
array
Roles this role requires. This is normally used with business roles to reference IT roles as a way of indicating which IT roles are required to support a business role.
Display name of the required Role.
ID of the required Role.
URI reference of the required Role resource.
permits
array
Roles this role permits. This is normally used with business roles to reference IT roles as a way of indicating which IT roles are allowed to support a business role.
Display name of the permitted Role.
ID of the permitted Role.
URI reference of the permitted Role resource.
classifications
array
Classifications of this Role.
The source of the ObjectClassification.
Flag indicating this is an effective Classification.
classification
object
Classification of this Object.
The name of the Classification.
The displayName of the Classification.
The origin of the Classification.
The type of the Classification. This can be used to group Classifications in/across different origins.
meta
Metadata of the SCIM resource.
Datetime this Role was created.
The location of the SCIM resource.
Datetime the Role was last modified.
The version of the SCIM resource.
The SCIM resource type.
The schemas involved in the SCIM resource.
{
"totalResults": "18,",
"startIndex": 1,
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"Resources": [
{
"id": "c0b4568a4fe7458c434ee77d1fbt156b",
"name": "ADDirect-Production Manager",
"descriptions": [
{
"locale": "en_US",
"value": "Directs production operations and processes for a plant, division, or company. Plans and maintains production schedules. Manages facilities and equipment maintenance."
}
],
"type": {
"iiq": false,
"requirements": false,
"permits": false,
"displayName": "IT",
"manualAssignment": false,
"name": "it",
"autoAssignment": false,
"assignmentSelector": false
},
"displayableName": "Staging Test Engineer - IT",
"active": true,
"activationDate": "2022-02-11T01:08:45.866-05:00",
"deactivationDate": "2022-02-11T01:08:45.866-05:00",
"owner": {
"displayName": "Lori Ferguson",
"value": "ac1301737f901991817f90d9eb050372",
"$ref": "http://localhost:8080/identityiq/scim/v2/Users/ac1301737f901991817f90d9eb050372"
},
"inheritance": [
null
],
"requirements": [
null
],
"permits": [
null
],
"classifications": [
{
"effective": false,
"source": "UI",
"classification": {
"displayName": "Special2",
"origin": "JDBCDirectDemoData",
"name": "Special2"
}
},
{
"effective": false,
"source": "UI",
"classification": {
"displayName": "Special7",
"origin": "JDBCDirectDemoData",
"name": "Special7"
}
}
],
"meta": {
"created": "2022-02-11T01:34:04.074-05:00",
"location": "http://localhost:8080/iiq/scim/v2/Roles/c0b4568a4fe7458c434ee77d1fbt156b",
"lastModified": "2022-02-11T01:08:45.866-05:00",
"version": "W/\\\"1644561244074\\\"",
"resourceType": "Role"
},
"schemas": [
"urn:ietf:params:scim:schemas:sailpoint:1.0:Role"
]
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
Number of Role resources returned.
The starting index of the resource set list. Can be specified with startIndex query parameter.
SCIM Schema used for response.
Resources
undefined[]
The SCIM resources returned for this endpoint.
IIQ ID of the Role.
Unique name for the Role. This name MUST be unique across the entire set of Roles.
A list of localized descriptions of the Role.
The type of the Role.
Displayable name of the Role.
Flag to indicate this Role is enabled or active.
The date the Role will turn from inactive/disabled to active/enabled.
The date the Role will turn from active/enabled to inactive/disabled.
owner
object
The owner of the Role.
Display name of the Role owner.
ID of the Role owner.
URI reference of the Role owner resource.
inheritance
array
Parent Roles this role inherits from.
Display name of the parent Role.
ID of the parent Role.
URI reference of the parent Role resource.
requirements
array
Roles this role requires. This is normally used with business roles to reference IT roles as a way of indicating which IT roles are required to support a business role.
Display name of the required Role.
ID of the required Role.
URI reference of the required Role resource.
permits
array
Roles this role permits. This is normally used with business roles to reference IT roles as a way of indicating which IT roles are allowed to support a business role.
Display name of the permitted Role.
ID of the permitted Role.
URI reference of the permitted Role resource.
classifications
array
Classifications of this Role.
The source of the ObjectClassification.
Flag indicating this is an effective Classification.
classification
object
Classification of this Object.
The name of the Classification.
The displayName of the Classification.
The origin of the Classification.
The type of the Classification. This can be used to group Classifications in/across different origins.
meta
Metadata of the SCIM resource.
Datetime this Role was created.
The location of the SCIM resource.
Datetime the Role was last modified.
The version of the SCIM resource.
The SCIM resource type.
The schemas involved in the SCIM resource.
{
"totalResults": "1500,",
"startIndex": 1,
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"Resources": [
{
"id": "c0b4568a4fe7458c434ee77d1fbt156b",
"name": "ADDirect-Production Manager",
"descriptions": [
{
"locale": "en_US",
"value": "Directs production operations and processes for a plant, division, or company. Plans and maintains production schedules. Manages facilities and equipment maintenance."
}
],
"type": {
"iiq": false,
"requirements": false,
"permits": false,
"displayName": "IT",
"manualAssignment": false,
"name": "it",
"autoAssignment": false,
"assignmentSelector": false
},
"displayableName": "Staging Test Engineer - IT",
"active": true,
"activationDate": "2022-02-11T01:08:45.866-05:00",
"deactivationDate": "2022-02-11T01:08:45.866-05:00",
"owner": {
"displayName": "Lori Ferguson",
"value": "ac1301737f901991817f90d9eb050372",
"$ref": "http://localhost:8080/identityiq/scim/v2/Users/ac1301737f901991817f90d9eb050372"
},
"inheritance": [
null
],
"requirements": [
null
],
"permits": [
null
],
"classifications": [
{
"effective": false,
"source": "UI",
"classification": {
"displayName": "Special2",
"origin": "JDBCDirectDemoData",
"name": "Special2"
}
},
{
"effective": false,
"source": "UI",
"classification": {
"displayName": "Special7",
"origin": "JDBCDirectDemoData",
"name": "Special7"
}
}
],
"meta": {
"created": "2022-02-11T01:34:04.074-05:00",
"location": "http://localhost:8080/iiq/scim/v2/Roles/c0b4568a4fe7458c434ee77d1fbt156b",
"lastModified": "2022-02-11T01:08:45.866-05:00",
"version": "W/\\\"1644561244074\\\"",
"resourceType": "Role"
},
"schemas": [
"urn:ietf:params:scim:schemas:sailpoint:1.0:Role"
]
}
]
}