curl --request PATCH \
--url https://api.cal.com/v2/organizations/{orgId}/users/{userId} \
--header 'Content-Type: application/json' \
--data '{}'{
"status": "success",
"data": {
"id": 1,
"email": "john@example.com",
"timeZone": "America/New_York",
"weekStart": "Monday",
"hideBranding": false,
"createdDate": "2022-01-01T00:00:00Z",
"profile": {
"id": 1,
"organizationId": 1,
"userId": 1,
"username": "john_doe"
},
"username": "john_doe",
"name": "John Doe",
"emailVerified": "2022-01-01T00:00:00Z",
"bio": "I am a software developer",
"avatarUrl": "https://example.com/avatar.jpg",
"appTheme": "light",
"theme": "default",
"defaultScheduleId": 1,
"locale": "en-US",
"timeFormat": 12,
"brandColor": "#ffffff",
"darkBrandColor": "#000000",
"allowDynamicBooking": true,
"verified": true,
"invitedTo": 1,
"metadata": {
"key": "value"
}
}
}curl --request PATCH \
--url https://api.cal.com/v2/organizations/{orgId}/users/{userId} \
--header 'Content-Type: application/json' \
--data '{}'{
"status": "success",
"data": {
"id": 1,
"email": "john@example.com",
"timeZone": "America/New_York",
"weekStart": "Monday",
"hideBranding": false,
"createdDate": "2022-01-01T00:00:00Z",
"profile": {
"id": 1,
"organizationId": 1,
"userId": 1,
"username": "john_doe"
},
"username": "john_doe",
"name": "John Doe",
"emailVerified": "2022-01-01T00:00:00Z",
"bio": "I am a software developer",
"avatarUrl": "https://example.com/avatar.jpg",
"appTheme": "light",
"theme": "default",
"defaultScheduleId": 1,
"locale": "en-US",
"timeFormat": 12,
"brandColor": "#ffffff",
"darkBrandColor": "#000000",
"allowDynamicBooking": true,
"verified": true,
"invitedTo": 1,
"metadata": {
"key": "value"
}
}
}For non-platform customers - value must be Bearer <token> where <token> is api key prefixed with cal_
For platform customers - OAuth client secret key
For platform customers - OAuth client ID
The body is of type object.
success, error "success"
Show child attributes
The ID of the user
1
The email of the user
"john@example.com"
The time zone of the user
"America/New_York"
The week start day of the user
"Monday"
Whether to hide branding for the user
false
The date when the user was created
"2022-01-01T00:00:00Z"
organization user profile, contains user data within the organizaton context
Show child attributes
The ID of the profile of user
1
The ID of the organization of user
1
The IDof the user
1
The username of the user within the organization context
"john_doe"
The username of the user
"john_doe"
The name of the user
"John Doe"
The date when the email was verified
"2022-01-01T00:00:00Z"
The bio of the user
"I am a software developer"
The URL of the user's avatar
"https://example.com/avatar.jpg"
The app theme of the user
"light"
The theme of the user
"default"
The ID of the default schedule for the user
1
The locale of the user
"en-US"
The time format of the user
12
The brand color of the user
"#ffffff"
The dark brand color of the user
"#000000"
Whether dynamic booking is allowed for the user
true
Whether the user is verified
true
The ID of the user who invited this user
1
{ "key": "value" }Was this page helpful?