Skip to main content
DELETE
/
manage-call-whitelist
curl -X DELETE "https://api.magpipe.ai/functions/v1/manage-call-whitelist?id=a1b2c3d4-0000-0000-0000-000000000001" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "ok": true
}
Permanently removes a whitelist entry. Subsequent calls from the previously whitelisted number will be routed to the AI agent as normal.

Query Parameters

id
string
required
The UUID of the whitelist entry to delete.Example: a1b2c3d4-0000-0000-0000-000000000001

Response

Returns { "ok": true } on success (200 OK). Returns 404 if the entry does not exist or belongs to a different account.
curl -X DELETE "https://api.magpipe.ai/functions/v1/manage-call-whitelist?id=a1b2c3d4-0000-0000-0000-000000000001" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "ok": true
}