curl --request PATCH \
--url https://api.cal.com/v2/organizations/{orgId}/users/{userId} \
--header 'Content-Type: application/json' \
--data '{}'
{
"status": "success",
"data": {
"id": 1,
"username": "john_doe",
"name": "John Doe",
"email": "john@example.com",
"emailVerified": "2022-01-01T00:00:00Z",
"bio": "I am a software developer",
"avatarUrl": "https://example.com/avatar.jpg",
"timeZone": "America/New_York",
"weekStart": "Monday",
"appTheme": "light",
"theme": "default",
"defaultScheduleId": 1,
"locale": "en-US",
"timeFormat": 12,
"hideBranding": false,
"brandColor": "#ffffff",
"darkBrandColor": "#000000",
"allowDynamicBooking": true,
"createdDate": "2022-01-01T00:00:00Z",
"verified": true,
"invitedTo": 1,
"metadata": {
"key": "value"
},
"profile": {
"id": 1,
"organizationId": 1,
"userId": 1,
"username": "john_doe"
}
}
}
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 response is of type object
.
Was this page helpful?
curl --request PATCH \
--url https://api.cal.com/v2/organizations/{orgId}/users/{userId} \
--header 'Content-Type: application/json' \
--data '{}'
{
"status": "success",
"data": {
"id": 1,
"username": "john_doe",
"name": "John Doe",
"email": "john@example.com",
"emailVerified": "2022-01-01T00:00:00Z",
"bio": "I am a software developer",
"avatarUrl": "https://example.com/avatar.jpg",
"timeZone": "America/New_York",
"weekStart": "Monday",
"appTheme": "light",
"theme": "default",
"defaultScheduleId": 1,
"locale": "en-US",
"timeFormat": 12,
"hideBranding": false,
"brandColor": "#ffffff",
"darkBrandColor": "#000000",
"allowDynamicBooking": true,
"createdDate": "2022-01-01T00:00:00Z",
"verified": true,
"invitedTo": 1,
"metadata": {
"key": "value"
},
"profile": {
"id": 1,
"organizationId": 1,
"userId": 1,
"username": "john_doe"
}
}
}
curl --request PATCH \
--url https://api.cal.com/v2/organizations/{orgId}/users/{userId} \
--header 'Content-Type: application/json' \
--data '{}'
{
"status": "success",
"data": {
"id": 1,
"username": "john_doe",
"name": "John Doe",
"email": "john@example.com",
"emailVerified": "2022-01-01T00:00:00Z",
"bio": "I am a software developer",
"avatarUrl": "https://example.com/avatar.jpg",
"timeZone": "America/New_York",
"weekStart": "Monday",
"appTheme": "light",
"theme": "default",
"defaultScheduleId": 1,
"locale": "en-US",
"timeFormat": 12,
"hideBranding": false,
"brandColor": "#ffffff",
"darkBrandColor": "#000000",
"allowDynamicBooking": true,
"createdDate": "2022-01-01T00:00:00Z",
"verified": true,
"invitedTo": 1,
"metadata": {
"key": "value"
},
"profile": {
"id": 1,
"organizationId": 1,
"userId": 1,
"username": "john_doe"
}
}
}
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 response is of type object
.
Was this page helpful?
curl --request PATCH \
--url https://api.cal.com/v2/organizations/{orgId}/users/{userId} \
--header 'Content-Type: application/json' \
--data '{}'
{
"status": "success",
"data": {
"id": 1,
"username": "john_doe",
"name": "John Doe",
"email": "john@example.com",
"emailVerified": "2022-01-01T00:00:00Z",
"bio": "I am a software developer",
"avatarUrl": "https://example.com/avatar.jpg",
"timeZone": "America/New_York",
"weekStart": "Monday",
"appTheme": "light",
"theme": "default",
"defaultScheduleId": 1,
"locale": "en-US",
"timeFormat": 12,
"hideBranding": false,
"brandColor": "#ffffff",
"darkBrandColor": "#000000",
"allowDynamicBooking": true,
"createdDate": "2022-01-01T00:00:00Z",
"verified": true,
"invitedTo": 1,
"metadata": {
"key": "value"
},
"profile": {
"id": 1,
"organizationId": 1,
"userId": 1,
"username": "john_doe"
}
}
}