Users

Update user

Updates user information, including name, job function, phone, language, and role.

patch/iam/v1/users/{id}

Request

  • Base URL
    https://api.doit.com
  • URL
    https://api.doit.com/iam/v1/users/{id}
  • Auth
    • API key in header Authorization
    • or API key in header X-Tenant-Id and API key in header Authorization

Path parameters

idstring required

The unique ID of the user to update.

Request body

firstNamestring

The user's first name.

lastNamestring

The user's last name.

jobTitle'Data Engineer / Data Analysts' | 'Executive Team' | 'Finance / Accounting' | 'Founder' | 'Legal / Purchasing' | 'Management' | 'Sales / Marketing' | 'Software / Ops Engineer'

The user's job function.

jobFunction'Data Engineer / Data Analysts' | 'Executive Team' | 'Finance / Accounting' | 'Founder' | 'Legal / Purchasing' | 'Management' | 'Sales / Marketing' | 'Software / Ops Engineer'

Deprecated: use 'jobTitle' instead. If both are provided, 'jobTitle' takes precedence.

phonestring

The user's country code (e.g., +44).

phoneExtensionstring

The user's phone extension (8-15 digits).

language'en' | 'ja'

The user's preferred language.

roleIdstring

The ID of the role to assign to the user.

Response

OK - User updated successfully.

messagestring

Success message

Changes

No recorded changes to this operation across all 1 revision of this API.