[Go to site: main page, start]

Update user details

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

Authentication

AuthorizationToken
The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example: <br><pre><code class="language-bash">curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"</code></pre>

Path parameters

idintegerRequired
User ID

Request

This endpoint expects an object.
active_organizationinteger or nullOptional
allow_newslettersboolean or nullOptional
Allow sending newsletters to user
custom_hotkeysany or nullOptional
Custom keyboard shortcuts configuration for the user interface
date_joineddatetimeOptional
email_notification_settingsanyOptional
first_namestringOptional<=256 characters
is_email_verifiedboolean or nullOptional
last_namestringOptional<=256 characters
onboarding_statestring or nullOptional>=1 character
passwordstringOptional>=1 character
phonestringOptional<=256 characters
usernamestringOptional1-256 characters

Response

active_organization_metamap from strings to stringsRead-only
avatarstring or nullRead-only
idintegerRead-only
initialsstringRead-onlyDefaults to ?
last_activitydatetimeRead-only
lse_fieldsobject
organization_membershipobject
pausemap from strings to any or nullRead-only
usernamestring<=256 characters
org_membershiplist of objectsRead-onlyDeprecated
active_organizationinteger or nullOptional
allow_newslettersboolean or nullOptional
Allow sending newsletters to user
custom_hotkeysany or nullOptional
Custom keyboard shortcuts configuration for the user interface
date_joineddatetimeOptional
emailstringOptionalformat: "email"<=254 characters
first_namestringOptional<=256 characters
last_namestringOptional<=256 characters
phonestringOptional<=256 characters