Create a new user (DATABASE)
{ createUserDb }
Adds a new user in the system for Database Authentication.
Method
Input Parameters
Name
createUserDb
Object Type
Description
The object used to create a new user when DB authentication is used.
Output Response
Successful Result Code
200
Response Type
Description of Response Type
Generic API response object with success or failure flag and related messages.
Notes
First create the User object with all its settings. Use other methods for alternative authentication providers
Examples
Create new database user (JavaScript):
This example demonstrates how to create a new tenant, user and roles in Pyramid, when using database authentication.
The example uses API authentication driven from JavaScript. See Authentication APIs for alternatives.