Create a user
Time to create a user account, eh?
Body
User to create
A user
- Type: stringFormat: emailemailrequired
- Type: stringpasswordwrite-onlyrequired
- Type: stringname
Responses
Request Example for post/user/signup
using Scalar.GalaxyCsharp;
using Scalar.GalaxyCsharp.Models.Requests;
var sdk = new GalaxyCsharp();
CreateUserJsonRequestBody req = new CreateUserJsonRequestBody() {
Name = "Marc",
Email = "marc@scalar.com",
Password = "i-love-scalar",
};
var res = await sdk.Authentication.CreateUserJsonAsync(req);
// handle response
{
"id": 1,
"name": "Marc"
}