curl --request DELETE \
--url "https://api.nixflex.com/v1/integrations/calcom/number/%2B12025550123" \
--header "Authorization: Bearer $NIXFLEX_API_KEY"
import Nixflex from 'nixflex';
const c = new Nixflex({apiKey:process.env.NIXFLEX_API_KEY,baseUrl:'https://api.nixflex.com',maxRetries:0});
const result = await c.integrations.delete("calcom", "+12025550123");
// Keep private responses out of logs and AI conversations.
import os
from nixflex import Nixflex
with Nixflex(api_key=os.environ["NIXFLEX_API_KEY"], base_url="https://api.nixflex.com", max_retries=0) as c:
result = c.integrations.delete('calcom', '+12025550123')
nixflex integrations delete calcom '+12025550123' --confirm --json --base-url "https://api.nixflex.com"
{
"ok": true,
"deleted": true,
"phone_number": "+12025550100"
}
Cal.com
Delete Cal.com settings
Remove saved Cal.com settings for an owned Nixflex number. This clears the integration configuration without disconnecting the phone number.
DELETE
/
integrations
/
calcom
/
number
/
{phoneNumber}
curl --request DELETE \
--url "https://api.nixflex.com/v1/integrations/calcom/number/%2B12025550123" \
--header "Authorization: Bearer $NIXFLEX_API_KEY"
import Nixflex from 'nixflex';
const c = new Nixflex({apiKey:process.env.NIXFLEX_API_KEY,baseUrl:'https://api.nixflex.com',maxRetries:0});
const result = await c.integrations.delete("calcom", "+12025550123");
// Keep private responses out of logs and AI conversations.
import os
from nixflex import Nixflex
with Nixflex(api_key=os.environ["NIXFLEX_API_KEY"], base_url="https://api.nixflex.com", max_retries=0) as c:
result = c.integrations.delete('calcom', '+12025550123')
nixflex integrations delete calcom '+12025550123' --confirm --json --base-url "https://api.nixflex.com"
{
"ok": true,
"deleted": true,
"phone_number": "+12025550100"
}
FIXED · call For new Google Calendar or Cal.com voice bookings, collect spelled name and email separately. Finish the combined read-back and get a later clear yes before the write, even with require_booking_confirmation=false. To reschedule or cancel an existing Cal.com appointment that changed across lookups, read back the current target in full and get a fresh yes. Google Calendar skips this; its moves and cancels follow require_booking_confirmation. Confirm success only after the calendar write succeeds. SMS uses its own flow.
NOT OFFERED → do this instead · number The booking zone cannot change general call time. Set calcom_timezone_override on the number to an IANA zone, or null to inherit. Cal.com uses number → agent → saved connection → Europe/London. With a booking context, read effective_calcom_timezone and effective_calcom_timezone_source. Google Calendar keeps its own number-calendar setting.
YOU CAN CHANGE · number Supported Google Calendar settings include availability hours, timezone and invitation behaviour. These configure that number’s booking calendar.
Do not send a request body.
Start Google Calendar consent with the per-number connect endpoint, then open the returned URL for the calendar owner.
MCP does not offer this operation because it disconnects an integration used by calls; use the API, Node, CLI or Python.
timezone, hours, slot_minutes, calendar_id, send_invites.
SCOPE · number For an owned number assigned to an agent, send only return_url to start Google Calendar consent. Open the returned url for the calendar owner. A competing calendar is refused. Read the number’s status after consent to confirm connection.
Read the compact AI rules
Remove the saved Cal.com configuration scoped to this account and number. This does not disconnect the phone number. A missing configuration also returns success.
Method: DELETE ·
Success: 200 ·
Scope: Owning account
The important part
- Clear only the intended target setting; already dispatched work cannot be recalled.
- Only one booking provider can be active for a number.
Authentication
SendAuthorization: Bearer KEY_ID:KEY_SECRET using the owning account’s server-side credential. When personal dashboard sessions are enabled, Owner and Admin sessions can write these settings; Member sessions can read only. Ownership checks still apply.
Request fields
| Field | Type | Required | Default | Limits and meaning |
|---|---|---|---|---|
phoneNumber (path) | string | Yes | None | Owned E.164 number. URL-encode the leading plus sign. |
Response fields
200 OK returns the shape below. Nullable fields can be unknown or unset; do not turn null into zero or false.
| Field | Type | Meaning |
|---|---|---|
ok | boolean | Request succeeded. Value: true. |
deleted | boolean | Delete request completed. Value: true. |
phone_number | string | Owned phone number. |
Example request
Examples require Node/CLI 0.11.0 or later, Python 0.4.0 or later and MCP 0.5.0 or later. KeepNIXFLEX_API_KEY in your private process environment. The cURL example uses Bash. Use approved owned fixtures and keep configuration responses private. Python shows sync usage; AsyncNixflex uses the same method with async with and await. Configure the existing MCP installation for the same account at https://api.nixflex.com. Review the target and payload before this write.
curl --request DELETE \
--url "https://api.nixflex.com/v1/integrations/calcom/number/%2B12025550123" \
--header "Authorization: Bearer $NIXFLEX_API_KEY"
import Nixflex from 'nixflex';
const c = new Nixflex({apiKey:process.env.NIXFLEX_API_KEY,baseUrl:'https://api.nixflex.com',maxRetries:0});
const result = await c.integrations.delete("calcom", "+12025550123");
// Keep private responses out of logs and AI conversations.
import os
from nixflex import Nixflex
with Nixflex(api_key=os.environ["NIXFLEX_API_KEY"], base_url="https://api.nixflex.com", max_retries=0) as c:
result = c.integrations.delete('calcom', '+12025550123')
nixflex integrations delete calcom '+12025550123' --confirm --json --base-url "https://api.nixflex.com"
Example response
Illustrative200 response. Identifiers and values are examples; some optional or compatibility fields are omitted.
{
"ok": true,
"deleted": true,
"phone_number": "+12025550100"
}
Errors
Failures return anerror object with code, message, doc_url and optional details. Each code links to the shared error catalog. Read the message and details before deciding whether to resend.
| Status | Code | Meaning | What to do |
|---|---|---|---|
| 500 | server_error | The result could not be confirmed. | Read the current state before retrying a write. |
| 401 | unauthorized | The credential is missing or invalid. | Check the full account credential. |
| 429 | rate_limit_exceeded | The account request limit was reached. | Wait for Retry-After. Reconcile uncertain writes before resending. |