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

Documentation Index

Fetch the complete documentation index at: https://docs.rootprint.io/llms.txt

Use this file to discover all available pages before exploring further.

Body

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

Response

Admin user created.

id
string
required
email
string<email>
required
name
string
required