Create users
Learn how to create new users
Description
The following route can be used to create new users.
Endpoint
POST https://sentry.aleno.ai/users
Query parameters
No query parameters.
Payload
users
required
List of UserCreateData
List that contains data related to users you want to create. Data description can be found bellow
UserCreateData description
UserCreateData is an object that describes users you want to create.
userName
optional
string or null
user name you want to set for this user. If none provided, will be set to null.
userContext
optional
string or null
A context associated to the user. If none provided, will be set to null.
User information will be linked to any alert sent by Sentry. UserContext can be used used on alert reception to get context of this user related to the alert. If you want to set a complex userContext (for instance an object with multiple fields), you can pass a stringified JSON object then parse it on client side.
CURL example
Result
Returns list of User objects corresponding to new users.
Last updated