Use the GET/orchestration/workspaces endpoint to retrieve the IDs of the
appropriate workspaces.
You can narrow the search to a single environment by using the
query=environment.name=={environmentName} query
parameter.
Example
GET https://api.us.cloud.talend.com/orchestration/workspaces?query=environment.name==default
Copy the appropriate workspace IDs from the response body.
In the User Management API, use the GET/account/users endpoint to retrieve the user IDs.
You can narrow the search to a single environment or workspace by using the
environment_id or workspace_id query
parameters.
Example
GET https://api.us.cloud.talend.com/account/users?environment_id=5f2a756784fe57eeb4a3f1a
Copy the appropriate user IDs from the response body.
Use the POST (if the workspace is new) or
PUT (if the workspace already has permissions)
/orchestration/permissions/batch endpoint to assign
permissions to the users of the workspace.
Paste the copied information to the body of the request (workspace and user
IDs).
To validate that permissions are set correctly, use the
GET/security/permissions endpoint with the
workspaceID query parameter for each workspace.
If the modified workspaces belong to the same environment, you can use the
environmentID parameter to retrieve all workspaces and
their permission at the same time.
Example
GET https://api.us.cloud.talend.com/security/permissions?workspaceId=9d9212a67c320343chh5fc7l
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!