User
The User API allows you to search, create and edit existing users, as well as set their user configuration values.
Last updated
Was this helpful?
The User API allows you to search, create and edit existing users, as well as set their user configuration values.
Last updated
Was this helpful?
API SUBPATH: eva-user
If you need to find a User and it's details by it's token, or to retrieve information abour the currently logged in user, this is the method you want.
This endpoint is responsible for the mass creation of users, through a csv file, with each line containing the following data, as follows:
Email: Email of the user being created.
Name: Name of the user being created
Company: It is company name
Password: The user's starting password.
Role: The Role assigned to each user.
EnvironmentUuid: Id of the environment that will be attached to role (viewer, editor or supervisor)
EnvironmentName: Environment Name
Bot: Bot uuid that will be attached to environment reported in the column "EnvironmentUuid"
A few rules to note:
User emails must be unique There may be no other user with the same email in a whole organization.
A user may only have one role.
The password must follow the designated Keycloak policies (By standard, at least one uppercase character, a lowercase character, a special or numeral and it must have a minimum of 6 characters)
When creating common users (viewer or editor) the environmentUuid, environmentName, and bot fields are mandatory
When creating a supervisor user the environmentUuid and environmentName fields are mandatory
The role column must be one of the following values: ADMIN, SUPERVISOR, EDITOR or VIEWER; and cannot be a null value.
EnvironmentUuid, environmentName, and bot must exist in the database, be active and be related
The request is a Multipart Form POST with a property "file" where its value will be the csv file to be processed.
If at least a single user was created, you'll receive a 200 success response, with a list of errors for whichever users failed to be created. Along with their emails, a message will inform the triggering issue, as follows:
/org/{orgUUID}/users
It is the organization the user is in.
It is the number of pages that will be returned, default value 0.
1
It is the number of users per page, default value 5.
1
It is the user attribute used for ordination the page, default attribute createdAt.
It is the sorting type, default value DESC.
It is the parameter that contains the user data entry, that will be used to filter the users.
/org/{orgUUID}/users/quicksearch
It is the organization where the user is, used to filter the user by organization
It is the parameter used to search for users related to the entered value
It is the max number of result, default value 6
6
It is an identifier provided by the API client that will be used to identify distributed logs
/org/{orgUUID}/users
Is the organization that the user will be created.
It is an identifier provided by the API client that will be used to identify distributed logs.
The language that the email arriving for their created user will be. Possible values: 'en' - English 'es' - Spanish 'ja' - Japanese 'pt' - Portuguese
Name of the user.
Image of the user.
Email of the user.
Company of the user.
Flag that identifies if the user is admin.
Environments of the user.
/org/{orgUUID}/users/{userId}
It is the organization the user is in.
It is the user id that will be used in the search process.
/org/{orgUUID}/users/{userId}
It is the organization the user is in.
It is the id that will be used to search the user in the database for the update.
It is an identifier provided by the API client that will be used to identify distributed logs.
Name of the user.
Image of the user.
Email of the user.
Company of the user.
Flag that identifies if the user is admin.
Password of the user.
Confirmation of the user's password, both must have the same value.
Environments of the user.
/org/{orgUUID}/users/activate
It is the organization the user is in.
It is an identifier provided by the API client that will be used to identify distributed logs.
The language that the email arriving for their created user will be. Possible values: 'en' - English 'es' - Spanish 'ja' - Japanese 'pt' - Portuguese
Name of the user.
Image of the user.
Email of the user.
Company of the user.
Flag that identifies if the user is admin.
Password of the user.
Confirmation of the user's password, both must have the same value.
Environments of the user.
/org/{orgUUID}/users/{userUuid}
It is the organization the user is in.
It is an identifier provided by the API client that will be used to identify distributed logs.
No body
/org/{orgUUID}/users/identity-provider
It is the organization the user is in.
Access Token
Bearer access_token
/org/{orgUUID}/configurations
Not used.
A User Configuration Key, which can be any String
The value being assigned to said key.
Optional Value. If present, sets the configuration specifically for designated bot.
/org/{orgUUID}/configurations/userHasConf
Not used.
A key that represents a configuration, is this key that will be checked.
/org/{orgUUID}/configurations/{botUUID}/userHasConf
Not used.
Bot containing this configuration
A key that represents a configuration, is this key that will be checked.
/org/{orgUUID}/users/bulk-create
Is the organization that the user will be created.
The language that the email arriving for their created user will be. Possible values: 'en' - English 'es' - Spanish 'ja' - Japanese 'pt' - Portuguese
It is an identifier provided by the API client that will be used to identify distributed logs.
It is the file that contains the users data.
/org/{orgUUID}/users/bulk-delete
Is the organization that the user will be created.
It is an identifier provided by the API client that will be used to identify distributed logs.
/org/{orgUUID}/users/bulk-permissions
Is the organization that the user will be created.
It is an identifier provided by the API client that will be used to identify distributed logs.
It is the file that contains the users data.
/org/{orgUUID}/users/bulk-permissions
Is the organization that the user will be created.
It is an identifier provided by the API client that will be used to identify distributed logs.