Call the /scim/v2/Roles endpoint to get a list of available role
IDs.
Procedure
-
Open Talend API Tester in your browser and select
GET from the Method
list.
-
In the field next to the Method drop-down list, enter the
user management endpoint to be used:
https://api.<env>.cloud.talend.com/scim/v2/Roles
Your environment could be:
-
In the HEADERS area, click Add header
and in the name field that is displayed, enter
Authorization and in the value
field, enter Bearer and your personal access token or the
service account access token. Enter a whitespace to separate
Bearer and the token.
-
Click Send to issue your call to obtain the role ID(s)
to be assigned to the user to be created.
Results
The response lists the IDs of the roles already defined for your
Talend Cloud applications. Note down the ID to be used.