Canary Speech

CreateUser

POST - /user/create
Required Permissions:
  • scope:app
  • scope:app.userauth
  • scope:app.userauth.create

Description

Creates a set of login credentials for the specified user. A user will not be able to log into an application without these credentials.

Headers

Header KeyDescriptionExample
Authorization
The Authorization header for this endpoint. The value must be the token from the /v3/auth/tokens/get endpoint and given using the Bearer pattern.
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdW...

Body Parameters

NameTypeDescription
* usernamestring
The user for which login credentials should be created.
* passwordstring
The password for the user's login.
* databaseIduuid
The databaseId for the user.

Successful Response

A successful response

Field NameTypeDescription
messagestring
"OK"

Code Example