Returns all Role resources.

GET {{baseUrl}}/Roles?filter=<string>&sortBy=<string>&sortOrder=<string>&startIndex=<integer>&count=<integer>&attributes=<string>&excludedAttributes=<string>

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 Params

KeyDatatypeRequiredDescription
filterstringAllows for query filters according to RFC-7644, Section 3.4.2.2 - not all operations are supported.<br/><br/>Example: filter=name eq "Data Analyst"
sortBystringAllows sorting the results by a resource's attributes.<br/><br/>Example: sortBy="name"
sortOrderstringDetermines what order to sort results in.<br/><br/>Example: sortOrder="descending"
startIndexstringDetermines the starting index of the result set.<br/><br/>Example: startIndex=1100
countstringSpecifies the number of results per page.<br/><br/>Example: count=10
attributesstringThe 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.<br/><br/>Example: attributes=name,type,classifications<br/><br/> 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.
excludedAttributesstringThe 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.<br/><br/>Example: excludedAttributes=permits,requirements,inheritance<br/><br/> 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.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;totalResults&quot;:-13732783,&quot;startIndex&quot;:1,&quot;schemas&quot;:[&quot;urn:ietf:params:scim:api:messages:2.0:ListResponse&quot;],&quot;Resources&quot;:[{&quot;id&quot;:&quot;c0b4568a4fe7458c434ee77d1fbt156b&quot;,&quot;name&quot;:&quot;ADDirect-Production Manager&quot;,&quot;descriptions&quot;:[{&quot;locale&quot;:&quot;en_US&quot;,&quot;value&quot;:&quot;Directs production operations and processes for a plant, division, or company. Plans and maintains production schedules. Manages facilities and equipment maintenance.&quot;}],&quot;type&quot;:{&quot;iiq&quot;:false,&quot;requirements&quot;:false,&quot;permits&quot;:false,&quot;displayName&quot;:&quot;IT&quot;,&quot;manualAssignment&quot;:false,&quot;name&quot;:&quot;it&quot;,&quot;autoAssignment&quot;:false,&quot;assignmentSelector&quot;:false},&quot;displayableName&quot;:&quot;Staging Test Engineer - IT&quot;,&quot;active&quot;:true,&quot;activationDate&quot;:&quot;2022-02-11T01:08:45.866-05:00&quot;,&quot;deactivationDate&quot;:&quot;2022-02-11T01:08:45.866-05:00&quot;,&quot;owner&quot;:{&quot;displayName&quot;:&quot;commodo et dolore&quot;,&quot;value&quot;:&quot;et&quot;,&quot;$ref&quot;:&quot;in incididunt reprehenderi&quot;},&quot;inheritance&quot;:{&quot;displayName&quot;:&quot;commodo occae&quot;,&quot;value&quot;:&quot;nisi &quot;,&quot;$ref&quot;:&quot;ut&quot;},&quot;requirements&quot;:{&quot;displayName&quot;:&quot;consequat sit Lorem commodo&quot;,&quot;value&quot;:&quot;laboris Excepteur Lorem cupidatat aliqua&quot;,&quot;$ref&quot;:&quot;velit&quot;},&quot;permits&quot;:{&quot;displayName&quot;:&quot;sit&quot;,&quot;value&quot;:&quot;ipsum&quot;,&quot;$ref&quot;:&quot;fugiat commodo ipsum culpa co&quot;},&quot;classifications&quot;:{&quot;source&quot;:&quot;Excepteur fugiat sit voluptate&quot;,&quot;effective&quot;:false,&quot;classification&quot;:{&quot;name&quot;:&quot;in anim laborum&quot;,&quot;displayName&quot;:&quot;reprehende&quot;,&quot;origin&quot;:&quot;non minim occaecat sunt&quot;,&quot;type&quot;:&quot;e&quot;}},&quot;meta&quot;:{&quot;created&quot;:&quot;2022-02-11T01:34:04.074-05:00&quot;,&quot;location&quot;:&quot;http://localhost:8080/iiq/scim/v2/Roles/c0b4568a4fe7458c434ee77d1fbt156b&quot;,&quot;lastModified&quot;:&quot;2022-02-11T01:08:45.866-05:00&quot;,&quot;version&quot;:&quot;W/\\\&quot;1644561244074\\\&quot;&quot;,&quot;resourceType&quot;:&quot;Role&quot;},&quot;schemas&quot;:[&quot;urn:ietf:params:scim:schemas:sailpoint:1.0:Role&quot;]},{&quot;id&quot;:&quot;c0b4568a4fe7458c434ee77d1fbt156b&quot;,&quot;name&quot;:&quot;ADDirect-Production Manager&quot;,&quot;descriptions&quot;:[{&quot;locale&quot;:&quot;en_US&quot;,&quot;value&quot;:&quot;Directs production operations and processes for a plant, division, or company. Plans and maintains production schedules. Manages facilities and equipment maintenance.&quot;}],&quot;type&quot;:{&quot;iiq&quot;:false,&quot;requirements&quot;:false,&quot;permits&quot;:false,&quot;displayName&quot;:&quot;IT&quot;,&quot;manualAssignment&quot;:false,&quot;name&quot;:&quot;it&quot;,&quot;autoAssignment&quot;:false,&quot;assignmentSelector&quot;:false},&quot;displayableName&quot;:&quot;Staging Test Engineer - IT&quot;,&quot;active&quot;:true,&quot;activationDate&quot;:&quot;2022-02-11T01:08:45.866-05:00&quot;,&quot;deactivationDate&quot;:&quot;2022-02-11T01:08:45.866-05:00&quot;,&quot;owner&quot;:{&quot;displayName&quot;:&quot;exercitation&quot;,&quot;value&quot;:&quot;consequat ex&quot;,&quot;$ref&quot;:&quot;eu commodo&quot;},&quot;inheritance&quot;:{&quot;displayName&quot;:&quot;consectetur&quot;,&quot;value&quot;:&quot;anim dolore pariatur fugiat&quot;,&quot;$ref&quot;:&quot;null&quot;},&quot;requirements&quot;:{&quot;displayName&quot;:&quot;esse &quot;,&quot;value&quot;:&quot;et consequat eu enim&quot;,&quot;$ref&quot;:&quot;deserunt Lorem cillum culpa ut&quot;},&quot;permits&quot;:{&quot;displayName&quot;:&quot;enim velit occaecat labore et&quot;,&quot;value&quot;:&quot;sed veniam&quot;,&quot;$ref&quot;:&quot;cupidatat magna aliquip adipisicing tempor&quot;},&quot;classifications&quot;:{&quot;source&quot;:&quot;dolore non conse&quot;,&quot;effective&quot;:false,&quot;classification&quot;:{&quot;name&quot;:&quot;mollit occaecat irure&quot;,&quot;displayName&quot;:&quot;ea Lorem nostrud ut aute&quot;,&quot;origin&quot;:&quot;aliqua&quot;,&quot;type&quot;:&quot;ut&quot;}},&quot;meta&quot;:{&quot;created&quot;:&quot;2022-02-11T01:34:04.074-05:00&quot;,&quot;location&quot;:&quot;http://localhost:8080/iiq/scim/v2/Roles/c0b4568a4fe7458c434ee77d1fbt156b&quot;,&quot;lastModified&quot;:&quot;2022-02-11T01:08:45.866-05:00&quot;,&quot;version&quot;:&quot;W/\\\&quot;1644561244074\\\&quot;&quot;,&quot;resourceType&quot;:&quot;Role&quot;},&quot;schemas&quot;:[&quot;urn:ietf:params:scim:schemas:sailpoint:1.0:Role&quot;]}]}