Skip to main content
DELETE
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. 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 Disconnect Google Calendar from an owned Nixflex number. Remove local access and understand in-flight bookings and shared Google grants.
Method: DELETE ·
Success: 200 ·
Scope: Owning account
The important part
  • Disconnect the intended number deliberately.
  • Already dispatched calendar work cannot be recalled by removing the connection.

Authentication

Use Authorization: Bearer KEY_ID:KEY_SECRET for the owning account. An organisation API key has Owner authority. Personal sessions use the role rules documented in Authentication; do not treat a Member session as an API key.

Request fields

Do not send a request body. Local access is removed for this number, including its older agent-wide calendar fallback. Other numbers keep their access. Remote Google revocation is best effort and can be skipped where grants may be shared. Already-loaded booking tools check the stored connection before a write; an operation already dispatched cannot be recalled.

Response fields

200 returns the following shape. A successful local disconnect returns exactly ok: true, connected: false.

Example request

Production HTTP examples. Replace the placeholder identifiers with resources owned by the account. Set NIXFLEX_API_KEY privately; never print it.

Example response

Illustrative response with placeholder identifiers.

Errors

Branch on error.code, not the wording of error.message. The envelope includes type, code, message, doc_url and details. Read status after a lost response before another deliberate disconnect.

Retry and idempotency

Disable automatic write retries. A lost response leaves the result uncertain; read the affected resource before another deliberate action. No general Idempotency-Key replay guarantee applies. See retry rules.

Authorizations

Authorization
string
header
required

KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A verified personal dashboard Bearer session may be used where the operation documents role-based access.

Path Parameters

phoneNumber
string
required

Owned E.164 number. URL-encode the leading +.

Pattern: ^\+[1-9][0-9]{1,14}$

Response

Success. Cache-Control: no-store.

ok
boolean
required
connected
boolean
required