Skip to content

Update user

PATCH
/api/v1/users/{username}

Self-update: users can change their own username. Changing role or password of others requires users.update permission.

username
required
string
object
username
string
role
string
password
string

User updated

object
username
string
role
string
email
string
createdAt
string
lastLoginAt
string

Unauthorized

Forbidden

User not found