Skip to content

Create a user

Request

Create a new User in the current account

Security
bearerToken
Bodyapplication/jsonrequired
typestringrequired
Value:"ADMIN"
Discriminator
emailstringrequired

The email address of the User

Example:"john.smith@gmail.com"
welcomeMessagestring

An optional welcome message included in the User user invite email

Default:"You have been invited to join Dash — a tool for managing images, videos and more."
curl -i -X POST \
  https://api-v2.dash.app/users \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "ADMIN",
    "email": "john.smith@gmail.com",
    "welcomeMessage": "You have been invited to join Dash — a tool for managing images, videos and more."
  }'

Responses

Success

Bodyapplication/json
resultanyrequired
permittedActionsArray of objectsrequired
Response
{ "result": { "type": "ACTIVE_ACCOUNT_USER", "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "id": "google-oauth2|110955770826801837334", "email": "john.smith@gmail.com", "permissions": {}, "name": "Ken Hassleback", "firstName": "Ken", "lastName": "Hassleback", "picture": "https://example.com/john-smith-picture.jpg", "hasUploadedProfilePicture": true, "lastLogin": "2021-02-16T16:21:58.640+00:00" }, "permittedActions": [ {} ] }