Customers

Disconnect a WhatsApp account from a customer

Disconnects a customer's WhatsApp account by its Meta business phone-number id (the phone_number_id returned in GET /customers/{id}). Best-effort unsubscribes the number from Meta webhooks, then soft-deletes and schedules a full purge of the account's data. Idempotent — repeating the call after the account is gone returns 404.

delete/customers/{id}/whatsapp_accounts/{phone_number_id}

Request

  • Base URL: https://api.kirimdev.com/v1
  • URL: https://api.kirimdev.com/v1/customers/{id}/whatsapp_accounts/{phone_number_id}
  • Auth: HTTP bearer

Path parameters

idstring required

Public Kirimdev end-customer ID.

Example:cus_01HXYZABCDEFGHJKMNPQRSTVWX
phone_number_idstring required

Meta WhatsApp Business phone-number ID connected to this customer.

Example:106540352242922

Response

Disconnected

request_idstring required

Unique request identifier to include when contacting support.

Example response

{
  "request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX"
}

Changes

No recorded changes to this operation across all 1 revision of this API.