Create a user
Time to create a user account, eh?
Body
User to create
Credentials to authenticate a user
- Type: string Format: emailemailrequired
- Type: stringpasswordwrite-onlyrequired
- Type: stringname
Responses
Request Example for post/user/signup
import DemoAPIScalarGalaxy from '@brynn-team/demo-api-scalar-galaxy';
const client = new DemoAPIScalarGalaxy({
bearerAuth: process.env['BEARER_AUTH'], // defaults to the BEARER_AUTH env var
environment: 'production',
});
const user = await client.authentication.createUser({
name: 'Marc',
email: 'marc@scalar.com',
password: 'i-love-scalar',
});
console.log(user);
{
"id": 1,
"name": "Marc"
}