OAuth Clients
Delete v2oauth clients
Getting Started
Platform / Cal Provider
Platform / Managed Users
Platform / Webhooks
Orgs / Attributes
Orgs / Attributes / Options
Orgs / Delegation Credentials
Orgs / Event Types
Orgs / Memberships
Orgs / Orgs
Orgs / Schedules
Orgs / Teams
Orgs / Teams / Bookings
Orgs / Teams / Memberships
Orgs / Teams / Routing forms / Responses
Orgs / Teams / Schedules
Orgs / Users / OOO
Orgs / Webhooks
Api Keys
Bookings
- GETGet all bookings
- POSTCreate a booking
- GETGet a booking
- POSTReschedule a booking
- POSTCancel a booking
- POSTMark a booking absence
- POSTAutomatically reassign booking to a new host
- POSTReassign a booking to a specific user
- POSTConfirm booking that requires a confirmation
- POSTDecline booking that requires a confirmation
- GETGet 'Add to Calendar' links for a booking
Calendars
Conferencing
Destination Calendars
Event Types
Event Types / Webhooks
OAuth Clients
Schedules
Selected Calendars
Slots
Stripe
Teams / Event Types
Teams / Memberships
Timezones
OAuth Clients
Delete v2oauth clients
DELETE
/
v2
/
oauth-clients
/
{clientId}
curl --request DELETE \
--url https://api.cal.com/v2/oauth-clients/{clientId}
{
"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,
"bookingRedirectUri": "https://example.com/booking-redirect",
"bookingCancelRedirectUri": "https://example.com/booking-cancel",
"bookingRescheduleRedirectUri": "https://example.com/booking-reschedule"
}
}
Path Parameters
Response
200 - application/json
Available options:
success
, error
Example:
"success"
Example:
"clsx38nbl0001vkhlwin9fmt0"
Example:
"MyClient"
Example:
"secretValue"
Array of permission keys like ["BOOKING_READ", "BOOKING_WRITE"]
Available options:
EVENT_TYPE_READ
, EVENT_TYPE_WRITE
, BOOKING_READ
, BOOKING_WRITE
, SCHEDULE_READ
, SCHEDULE_WRITE
, APPS_READ
, APPS_WRITE
, PROFILE_READ
, PROFILE_WRITE
Example:
["BOOKING_READ", "BOOKING_WRITE"]
Example:
["https://example.com/callback"]
Example:
1
Example:
"2024-03-23T08:33:21.851Z"
Example:
true
If enabled, when creating a managed user the managed user will have 4 default event types: 30 and 60 minutes without Cal video, 30 and 60 minutes with Cal video. Leave this disabled if you want to create a managed user and then manually create event types for the user.
Example:
true
Example:
"https://example.com/logo.png"
Example:
"https://example.com/booking-redirect"
Example:
"https://example.com/booking-cancel"
Example:
"https://example.com/booking-reschedule"
Was this page helpful?
curl --request DELETE \
--url https://api.cal.com/v2/oauth-clients/{clientId}
{
"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,
"bookingRedirectUri": "https://example.com/booking-redirect",
"bookingCancelRedirectUri": "https://example.com/booking-cancel",
"bookingRescheduleRedirectUri": "https://example.com/booking-reschedule"
}
}