function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vishal DevgireVishal Devgire 

How to fetch Roles using salesforce scim implementation

I can update the user roles using :

{
    "schemas": [
        "urn:scim:schemas:core:1.0",
        "urn:scim:schemas:extension:enterprise:1.0"
    ],
    "id": "00528000001EhgD",
   "displayName": "Changed Name",
    "nickName": "NickName",
"roles": [{
                              "value": "00E28000000p0XaEAI",
                              "display": "CEO"
               }]
}

URL : https://ap2.salesforce.com/services/scim/v1/Users/00528000001EhgD

But I am not able to fetch the roles as I could not find the resource url for fetching the roles.
I want to fetch role ids using role name
Can anybody please help here?
Dr. Thomas MillerDr. Thomas Miller
https://scimtest-dev-ed.my.salesforce.com/services/scim/v2/Roles
https://scimtest-dev-ed.my.salesforce.com/services/scim/v2/Roles/00E1t000000QDw3EAG