Skip to main content
POST
https://example.com
/
api
/
auth
/
setup-admin
Set up first admin
curl --request POST \
  --url https://example.com/api/auth/setup-admin \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "name": "<string>",
  "password": "<string>"
}
'
{
  "email": "<string>",
  "id": "<string>",
  "name": "<string>"
}

Body

application/json
email
string<email>
required
name
string
required
Required string length: 1 - 128
password
string
required
Required string length: 8 - 128

Response

Admin created

email
string
required
id
string
required
name
string
required