Disconnect receptionist calendar

Disconnects the cal.com calendar from the account's receptionist. Requires the PARTNER scope.

DELETE/v2/api/partner/accounts/{id}/numbers/{number}/receptionist/calendar

Disconnects the cal.com calendar from the account's receptionist. The calendar belongs to the account, so this disconnects it for every number of the account. The receptionist can no longer book appointments on it. The response is 204 No Content.

Errors

CodeWhat it means
CALENDAR_NOT_CONNECTEDNo calendar is connected to this account (404).
PARTNER_ACCOUNT_NOT_FOUNDNo account with this id was created by your API key, or the account is deactivated (404).
PHONE_NUMBER_NOT_FOUNDThe number is not on this account (404).

Authorization

Authorizationstring · headerrequired

Api-Key ak_live_…

Path parameters

idstringrequired

The account id returned on create.

numberstringrequired

A number of the account, in E.164 format.

Responses

204The calendar was disconnected
401
403The API key lacks the PARTNER scope.
errorobject
404No account with this id was created by your API key, or it is deactivated (PARTNER_ACCOUNT_NOT_FOUND), or the number is not on the account (PHONE_NUMBER_NOT_FOUND). No calendar is connected to this account (CALENDAR_NOT_CONNECTED).
errorobject
6 fields
typestring
codestring
messagestring
retryableboolean
request_idstring
retry_after_secondsinteger | null
429