latestOpenAPI 3.1.02026-08-08127304355.9 KB

69c553220183

Configuration

Update User

Modify a user's name, role, or profile settings. Requires account admin role.

patch/api/v2/users/{user_id}

Path parameters

user_idstring required

Request body

first_namestring nullable
last_namestring nullable
account_role'Account User' | 'Account Admin' | 'Account Analyst' | 'Account Guest'
profile_picturestring nullable
profile_colorstring nullable

Response

UserResponse(id: uuid.UUID, email_address: str, first_name: str, last_name: str, account_role: str, is_deleted: bool, profile_picture: Optional[str] = None, profile_color: Optional[str] = None)

idstring uuid required
email_addressstring required
first_namestring required
last_namestring required
account_rolestring required
is_deletedboolean required
profile_picturestring nullable
profile_colorstring nullable