Using API to create a user
You can use the user management API to create users.
Before you begin
-
Generate access tokens:
- For users, generate a personal access token by following Generating a Personal Access Token.
- For service accounts, generate a service access token by following Generating a service account token.
Once generated, a service account token expires after 30 minutes. If it expires, generate a new token using the POST method at the endpoint https://api.<env>.cloud.talend.com/security/oauth/token. For more information about generating a token, see Generating a service account token.
- Ensure that the user or the service account to be used to issue API calls has the Users - Management permissions.
About this task
In this section, Talend API Tester is used to demonstrate how to issue API calls to create users.