API referenceAuth
Bootstrap Administrator
Public only until initialized: creates the first administrator, as the `bootstrap` command does, signed in.
POST
/api/v1/auth/bootstrapPublic only until initialized: creates the first administrator, as the bootstrap command does, signed in.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/auth/bootstrap" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]", "password": "pa$$word_qwe" }'{ "csrf_token": "string", "principal_id": "string"}