Delete the agent
Remove the Meta Business agent from the WhatsApp phone number. Deletes the agent configuration and, when the last agent on the account is removed, disconnects the integration.
delete
Authorizations
D360-API-KEYstringRequired
API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.
Header parameters
X-API-Versionstring · enumOptionalPossible values:
Meta Business Agent API version
Responses
200
The agent was removed, or there was nothing to remove
application/json
Result of removing the Meta Business agent from the phone number
deleted_agent_idstringOptionalExample:
1234567890400
Bad request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
429
Too many requests
application/json
500
Server error
application/json
delete/delete_agent
DELETE /delete_agent HTTP/1.1
Host: waba-v2.360dialog.io
D360-API-KEY: YOUR_API_KEY
Accept: */*
{
"deleted_agent_id": "1234567890"
}Last updated
Was this helpful?