Skip to main content
DELETE
/
voice_agents
/
{voice_agent_id}
/
whatsapp
/
phone_numbers
/
{assignment_id}
Delete WhatsApp phone number assignment
curl --request DELETE \
  --url https://api.kapso.ai/platform/v1/voice_agents/{voice_agent_id}/whatsapp/phone_numbers/{assignment_id} \
  --header 'X-API-Key: <api-key>'
This response does not have an example.

Authorizations

X-API-Key
string
header
required

Path Parameters

voice_agent_id
string<uuid>
required

Voice agent identifier

assignment_id
string<uuid>
required

Assignment identifier (primary key of VoiceAgentWhatsappConfig). This is the assignment ID returned in the response when you create or list assignments, NOT the Meta phone_number_id. Use the 'id' field from assignment responses for PATCH/DELETE operations.

Response

Assignment deleted successfully (no content returned)