Update user profile
Update user profile information including personal details and preferences. Users can update their own profiles, admins can update any user.
AuthorizationBearer <token>
In: header
Path Parameters
idstring
User ID
Format
uuidfirst_name?string
User's first name
last_name?string
User's last name
title?string
User's job title
appearance?string
User's UI theme preference (maps to theme field)
Value in
"light" | "dark" | "system"language?string
User's language preference
Response Body
const body = JSON.stringify({ "first_name": "Jane", "last_name": "Smith", "title": "Senior Compliance Manager"})fetch("https://app.orbiqhq.com/api/v1/users/550e8400-e29b-41d4-a716-446655440000", { method: "PATCH", headers: { "Content-Type": "application/json" }, body}){
"success": true,
"data": {
"user": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"first_name": "string",
"last_name": "string",
"email": "user@example.com",
"title": "string",
"theme": "light",
"language": "string"
}
}
}{
"error": "No valid fields provided for update"
}Empty
Empty
Empty
Empty
How is this guide?