Using API to get role IDs - Cloud

Talend Cloud APIs User Guide

Version
Cloud
Language
English (United States)
Product
Talend Cloud
Module
Talend API Designer
Talend API Tester
Talend Data Preparation
Talend Data Stewardship
Talend Management Console
Content
Design and Development > Designing APIs
Design and Development > Testing APIs
Call the /account/roles endpoint to get a list of available role IDs.

Procedure

  1. Open Talend API Tester in your browser and select GET from the Method list.
  2. In the field next to the Method drop-down list, enter the user management endpoint to be used: https://api.<env>.cloud.talend.com/account/roles
    Your environment could be:
    • eu
    • us
    • us-west
    • ap
    • au
  3. 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.
  4. 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.