API ReferenceUsers

Update user details

PATCH

Update details for a specific Label Studio user, such as their name or contact information.

You will need to provide their user ID. You can find a list of all user IDs using List users.

Path parameters

idintegerRequired
User ID

Request

This endpoint expects an object.
id
integerOptional
User ID
first_name
stringOptional
First name of the user
last_name
stringOptional
Last name of the user
username
stringOptional
Username of the user
email
stringOptional
Email of the user
avatar
stringOptional
Avatar URL of the user
initials
stringOptional
Initials of the user
phone
stringOptional
Phone number of the user
allow_newsletters
booleanOptional
Whether the user allows newsletters

Response

This endpoint returns an object
username
string
id
integerOptional
first_name
stringOptional
last_name
stringOptional
email
stringOptional
last_activity
datetimeOptional
avatar
stringOptional
initials
stringOptional
phone
stringOptional
active_organization
integerOptional
allow_newsletters
booleanOptional
Allow sending newsletters to user