Create a user

​

Time to create a user account, eh?

Body

User to create

Credentials to authenticate a user

    • email
      Type: string Format: email
      required
    • password
      Type: string
      write-only
      required
    • name
      Type: string
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"
}