---
title: "Revoke iZap's access to a number at Meta"
method: POST
path: "/api/v1/businesses/whatsapp_cloud/numbers/{number_id}/disconnect"
tags: ["whatsapp-cloud"]
---

# Revoke iZap's access to a number at Meta

`POST /api/v1/businesses/whatsapp_cloud/numbers/{number_id}/disconnect`

## Request

- Base URL: `https://api.izap.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.izap.ai/api/v1/businesses/whatsapp_cloud/numbers/{number_id}/disconnect`
- Auth: HTTP bearer

Revokes iZap's access to the number at Meta and removes it from the platform. Unlike `deleteCurrentWhatsAppNumber`, which only disconnects the number from iZap, this also unsubscribes from the WhatsApp Business Account's webhooks at Meta and optionally deregisters the number from Cloud API entirely (`deregister`). Reconnecting requires a full Embedded Signup run. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.

## Path parameters

- `number_id` string, required

## Headers

- `business-id` string, nullable, required: UUID of the business the request is scoped to. Required on this route; the deprecated /businesses/{business_id}/... form takes it from the path instead.

## Request body

- WhatsAppNumberDisconnectIn
  - `deregister` boolean

## Response `200`

Successful Response

- WhatsAppNumberDisconnectOut
  - `removed` boolean, required
  - `access_revoked` boolean, required
  - `deregistered` boolean, required
  - `warnings` string[]
  - `detail` string, nullable

## Other responses

- `401`: Missing or invalid credentials.
- `403`: The credential is valid but not authorized for this action.
- `404`: The resource, or the business named in the request, does not exist.
- `422`: Validation Error
- `default`: Unexpected error.

---

[API](https://skmtc.dev/izap/apis/izap-api.md) · [All operations](https://skmtc.dev/izap/apis/izap-api/llms.txt) · [OpenAPI document](https://skmtc.dev/izap/apis/izap-api/revisions/e6358c8bf5e9?raw)
