v13

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-08-0148123138.3 KB
Admin

Update User

patch/v1/admin/users/{user_id}

Path parameters

user_idinteger required

The ID of the user to update.

The ID of the user to update.

Request body

emailstring nullable

The new user email. If None, the user email is not changed.

namestring nullable

The new user name. If None, the user name is not changed.

current_passwordstring nullable

The current user password.

passwordstring nullable

The new user password. If None, the user password is not changed.

roleinteger nullable

The new role ID. If None, the user role is not changed.

organizationinteger nullable

The new organization ID. If None, the user will be removed from the organization if he was in one.

budgetnumber nullable

The new budget. If None, the user will have no budget.

expiresinteger nullable

The new expiration timestamp. If None, the user will never expire.

priorityinteger nullable

The new user priority. Higher value means higher priority. If None, unchanged.

Response

Successful Response

object'user'

Type of the object.

idinteger required

ID of the user.

emailstring required

Email of the user.

namestring nullable

Name of the user.

substring nullable

Subject identifier for SSO.

issstring nullable

Issuer identifier for SSO.

roleinteger required

ID of the role assigned to the user.

organization_idinteger nullable

ID of the organization the user belongs to.

budgetnumber nullable

Budget allocated to the user.

expiresinteger nullable

Expiration time of the user, as Unix timestamp.

createdinteger required

Time of creation, as Unix timestamp.

updatedinteger required

Time of last update, as Unix timestamp.

priorityinteger required

Priority of the user. Higher value means higher priority.