cURL
curl --request POST \ --url http://localhost:8091/api/auth/register \ --header 'Content-Type: application/json' \ --data ' { "username": "<string>", "email": "jsmith@example.com", "password": "<string>", "displayName": "<string>" } '
{ "data": { "token": "<string>" } }
Creates a new user account and returns a session token. The first user to register becomes the instance admin.
Desired username (will be lowercased)
Email address
Password
Optional display name (defaults to username)
Registration successful
Show child attributes