Skip to main content
Version: Next

UpdateUserDto

usernamestring
Example: johndoe
emailstring
Example: johndoe@example.com
permissionsstring[]

User permissions (can be permission strings or permission set names)

Example: ["manage:user","read:config"]
grantsstring[]
Example: ["read","write"]
require2FAboolean
Example: false
passwordstring
Example: strongpassword123
UpdateUserDto
{
"username": "johndoe",
"email": "johndoe@example.com",
"permissions": [
"manage:user",
"read:config"
],
"grants": [
"read",
"write"
],
"require2FA": false,
"password": "strongpassword123"
}