update_user
Modify an existing BookStack user account by updating details such as name, email, password, roles, language, or external authentication ID.
Instructions
Update an existing user account
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email address (must be unique) | ||
| external_auth_id | No | External authentication ID | |
| id | Yes | User ID | |
| language | No | User interface language code | |
| name | No | Full name of the user | |
| password | No | New password (min 8 characters) | |
| roles | No | Array of role IDs to assign to the user (replaces existing) |
Input Schema (JSON Schema)
{
"properties": {
"email": {
"description": "Email address (must be unique)",
"type": "string"
},
"external_auth_id": {
"description": "External authentication ID",
"type": "string"
},
"id": {
"description": "User ID",
"type": "number"
},
"language": {
"description": "User interface language code",
"type": "string"
},
"name": {
"description": "Full name of the user",
"type": "string"
},
"password": {
"description": "New password (min 8 characters)",
"type": "string"
},
"roles": {
"description": "Array of role IDs to assign to the user (replaces existing)",
"items": {
"type": "number"
},
"type": "array"
}
},
"required": [
"id"
],
"type": "object"
}