Use the GET/orchestration/workspaces endpoint to retrieve the IDs of the
source and target 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
Use the GET/security/permissions endpoint with the
?workspaceID={workspaceID} query parameter to retrieve the
list of users and their permissions on the source workspace.
Example
GET https://api.us.cloud.talend.com/security/permissions?workspaceId=5c9212a48c320343cbb5fc4b
The response body will contain the users' IDs and permissions on the
workspace.
Use the POST (if the workspace is new) or
PUT (if the workspace already has users)
/security/permissions/batch endpoint to assign permissions
to the users of the workspace.
Paste the copied information to the body of the request, replacing the
workspace ID with the target workspace's ID.
To validate that permissions are set correctly on the target workspace, use the
GET/security/permissions endpoint with the
?workspaceID={workspaceID} query parameter.
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!