API ReferenceInbound Bindings
Delete a binding
DELETE /api/v1/telephony/inbound/bindings/{id} — deprovision on the provider and delete the binding row.
DELETE /api/v1/telephony/inbound/bindings/{id}Unregister an inbound number. zoxaAI:
- Looks up the binding.
- Deprovisions the webhook on the provider — Twilio clears
VoiceUrl; Vobiz detaches the number from its application (leaves the application'sanswer_urlintact since other numbers may share it). - Deletes the binding row.
Tolerant of provider-side errors: if the credentials have been revoked or the number has already been removed, deletion proceeds anyway.
Response
204 No Content.
Examples
curl -X DELETE https://dashboard.zoxa.ai/api/v1/telephony/inbound/bindings/5 \
-H "X-API-Key: zsk_..."Errors
| Status | detail | When |
|---|---|---|
400 | "No organization selected" | Auth missing org. |
404 | "binding_not_found" | Id doesn't exist in your org. |
Related
POST /call type=inbound— re-register a number