curl --request DELETE \
--url https://api.cal.com/v2/oauth-clients/{clientId} \
--header 'Authorization: <authorization>'
{
"status": "success",
"data": {
"id": "clsx38nbl0001vkhlwin9fmt0",
"name": "MyClient",
"secret": "secretValue",
"permissions": [
"BOOKING_READ",
"BOOKING_WRITE"
],
"logo": "https://example.com/logo.png",
"redirectUris": [
"https://example.com/callback"
],
"organizationId": 1,
"createdAt": "2024-03-23T08:33:21.851Z",
"areEmailsEnabled": true,
"areDefaultEventTypesEnabled": true,
"areCalendarEventsEnabled": true,
"bookingRedirectUri": "https://example.com/booking-redirect",
"bookingCancelRedirectUri": "https://example.com/booking-cancel",
"bookingRescheduleRedirectUri": "https://example.com/booking-reschedule"
}
}
value must be Bearer <token>
where <token>
is api key prefixed with cal_
The response is of type object
.
Was this page helpful?
curl --request DELETE \
--url https://api.cal.com/v2/oauth-clients/{clientId} \
--header 'Authorization: <authorization>'
{
"status": "success",
"data": {
"id": "clsx38nbl0001vkhlwin9fmt0",
"name": "MyClient",
"secret": "secretValue",
"permissions": [
"BOOKING_READ",
"BOOKING_WRITE"
],
"logo": "https://example.com/logo.png",
"redirectUris": [
"https://example.com/callback"
],
"organizationId": 1,
"createdAt": "2024-03-23T08:33:21.851Z",
"areEmailsEnabled": true,
"areDefaultEventTypesEnabled": true,
"areCalendarEventsEnabled": true,
"bookingRedirectUri": "https://example.com/booking-redirect",
"bookingCancelRedirectUri": "https://example.com/booking-cancel",
"bookingRescheduleRedirectUri": "https://example.com/booking-reschedule"
}
}
curl --request DELETE \
--url https://api.cal.com/v2/oauth-clients/{clientId} \
--header 'Authorization: <authorization>'
{
"status": "success",
"data": {
"id": "clsx38nbl0001vkhlwin9fmt0",
"name": "MyClient",
"secret": "secretValue",
"permissions": [
"BOOKING_READ",
"BOOKING_WRITE"
],
"logo": "https://example.com/logo.png",
"redirectUris": [
"https://example.com/callback"
],
"organizationId": 1,
"createdAt": "2024-03-23T08:33:21.851Z",
"areEmailsEnabled": true,
"areDefaultEventTypesEnabled": true,
"areCalendarEventsEnabled": true,
"bookingRedirectUri": "https://example.com/booking-redirect",
"bookingCancelRedirectUri": "https://example.com/booking-cancel",
"bookingRescheduleRedirectUri": "https://example.com/booking-reschedule"
}
}
value must be Bearer <token>
where <token>
is api key prefixed with cal_
The response is of type object
.
Was this page helpful?
curl --request DELETE \
--url https://api.cal.com/v2/oauth-clients/{clientId} \
--header 'Authorization: <authorization>'
{
"status": "success",
"data": {
"id": "clsx38nbl0001vkhlwin9fmt0",
"name": "MyClient",
"secret": "secretValue",
"permissions": [
"BOOKING_READ",
"BOOKING_WRITE"
],
"logo": "https://example.com/logo.png",
"redirectUris": [
"https://example.com/callback"
],
"organizationId": 1,
"createdAt": "2024-03-23T08:33:21.851Z",
"areEmailsEnabled": true,
"areDefaultEventTypesEnabled": true,
"areCalendarEventsEnabled": true,
"bookingRedirectUri": "https://example.com/booking-redirect",
"bookingCancelRedirectUri": "https://example.com/booking-cancel",
"bookingRescheduleRedirectUri": "https://example.com/booking-reschedule"
}
}