Returns all Role resources.​
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.
Query Parameters
- filter string
Allows for query filters according to RFC-7644, Section 3.4.2.2 - not all operations are supported.
Example: filter=name eq "Data Analyst" - sortBy string
Allows sorting the results by a resource's attributes.
Example: sortBy="name" - sortOrder string
Determines what order to sort results in.
Example: sortOrder="descending" - startIndex integer
Determines the starting index of the result set.
Example: startIndex=1100 - count integer
Specifies the number of results per page.
Example: count=10 - attributes string
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. - excludedAttributes string
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.
- 200
Returns all SCIM Role resources.
- application/json
- application/scim+json
- Schema
- Example (from schema)
Schema
- totalResults integer
Number of Role resources returned
- startIndex integer
The starting index of the resource set list. Can be specified with startIndex query parameter.
- schemas string[]
SCIM Schema used for response.
Resources undefined[]
id stringIIQ ID of the Role.
name stringUnique name for the Role. This name MUST be unique across the entire set of Roles.
descriptions arrayA list of localized descriptions of the Role.
type objectThe type of the Role.
displayableName stringDisplayable name of the Role.
active booleanFlag to indicate this Role is enabled or active.
activationDate date-timeThe date the Role will turn from inactive/disabled to active/enabled.
deactivationDate date-timeThe date the Role will turn from active/enabled to inactive/disabled.
owner object
The owner of the Role.
displayName stringDisplay name of the Role owner.
value stringID of the Role owner.
$ref stringURI reference of the Role owner resource.
inheritance array
Parent Roles this role inherits from.
displayName stringDisplay name of the parent Role.
value stringID of the parent Role.
$ref stringURI 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.
displayName stringDisplay name of the required Role.
value stringID of the required Role.
$ref stringURI 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.
displayName stringDisplay name of the permitted Role.
value stringID of the permitted Role.
$ref stringURI reference of the permitted Role resource.
classifications array
Classifications of this Role.
source stringThe source of the ObjectClassification.
effective booleanFlag indicating this is an effective Classification.
classification object
Classification of this Object.
name stringThe name of the Classification.
displayName stringThe displayName of the Classification.
origin stringThe origin of the Classification.
type stringThe type of the Classification. This can be used to group Classifications in/across different origins.
meta
Metadata of the SCIM resource.
created date-timeDatetime this Role was created.
location stringThe location of the SCIM resource.
lastModified date-timeDatetime the Role was last modified.
version stringThe version of the SCIM resource.
resourceType stringThe SCIM resource type.
schemas string[]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
- totalResults integer
Number of Role resources returned.
- startIndex integer
The starting index of the resource set list. Can be specified with startIndex query parameter.
- schemas string[]
SCIM Schema used for response.
Resources undefined[]
The SCIM resources returned for this endpoint.
id stringIIQ ID of the Role.
name stringUnique name for the Role. This name MUST be unique across the entire set of Roles.
descriptions arrayA list of localized descriptions of the Role.
type objectThe type of the Role.
displayableName stringDisplayable name of the Role.
active booleanFlag to indicate this Role is enabled or active.
activationDate date-timeThe date the Role will turn from inactive/disabled to active/enabled.
deactivationDate date-timeThe date the Role will turn from active/enabled to inactive/disabled.
owner object
The owner of the Role.
displayName stringDisplay name of the Role owner.
value stringID of the Role owner.
$ref stringURI reference of the Role owner resource.
inheritance array
Parent Roles this role inherits from.
displayName stringDisplay name of the parent Role.
value stringID of the parent Role.
$ref stringURI 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.
displayName stringDisplay name of the required Role.
value stringID of the required Role.
$ref stringURI 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.
displayName stringDisplay name of the permitted Role.
value stringID of the permitted Role.
$ref stringURI reference of the permitted Role resource.
classifications array
Classifications of this Role.
source stringThe source of the ObjectClassification.
effective booleanFlag indicating this is an effective Classification.
classification object
Classification of this Object.
name stringThe name of the Classification.
displayName stringThe displayName of the Classification.
origin stringThe origin of the Classification.
type stringThe type of the Classification. This can be used to group Classifications in/across different origins.
meta
Metadata of the SCIM resource.
created date-timeDatetime this Role was created.
location stringThe location of the SCIM resource.
lastModified date-timeDatetime the Role was last modified.
version stringThe version of the SCIM resource.
resourceType stringThe SCIM resource type.
schemas string[]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"
]
}
]
}