Complete subuser setup
This endpoint documentation is generated directly from openapi.yaml.
Endpoint
POST /subusers/setup
Operation
Operation ID: completeSubuserSetup
Completes subuser setup by setting a password and basic profile fields. Accepts optional `username` and `email`.
Authentication
No authentication required.
Request Body
Required: yes.
Content type: application/json
{
"properties": {
"email": {
"format": "email",
"maxLength": 255,
"minLength": 3,
"type": "string"
},
"name": {
"maxLength": 255,
"minLength": 3,
"type": "string"
},
"password": {
"description": "Must include at least one uppercase letter, one lowercase letter, and one number",
"format": "password",
"minLength": 8,
"pattern": "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\\\d).+$",
"type": "string"
},
"token": {
"description": "One-time setup token",
"type": "string"
},
"username": {
"maxLength": 255,
"minLength": 3,
"type": "string"
}
},
"required": [
"token",
"password",
"name"
],
"type": "object"
}
Responses
Status | Description | Content Types |
|---|---|---|
200 | Setup completed | application/json |
400 | ||
500 |
Schema for response 200 (application/json):
{
"properties": {
"message": {
"example": "Password set successfully",
"type": "string"
}
},
"type": "object"
}
17 March 2026