Skip to main content

Update User

PATCH https://api.repoflow.io/1/users/<user-id>

Update an existing user. This endpoint does not allow changing username or password.

At least one of the following must be provided: email, firstName, lastName, userRole.

Allowed Role: System Admin • Authentication Required

Path Parameters

user-idstringRequired

User ID (UUID).

Body

emailstringOptional

Email address (normalized to lowercase, max 320 chars).

firstNamestringOptional

First name (max 30 chars).

lastNamestringOptional

Last name (max 30 chars).

userRolestringOptional

Role for the user: user or system-admin.