API to Create Bulk Users
The following describes the method to input bulk Users to the UI.
- Select any API testing tool to invoke an API.
- Include the additional JSON Web Token (JWT) header for authentication in the request, which is obtained during logging in to the API testing tool.
- Include the following argument:
Method -
{
"username": "<username>", - required
"email": "<email>", - optional
"password": "<password>", - required if not ldap user
"role": “<role name>", - required
"ldapUser": true/false, - required
"catalogRole": “<catalog role>", - optional
}
An array of User objects can be sent as payload to the above API to insert multiple users at once.
