Delete a number pool
delete a number pool.
DELETE
https://api.centerfy.ai/webhooks/inbound/number-pools/:id Headers
| Header | Required | Value | Description |
|---|---|---|---|
x-api-key | Yes | your sub-account API key (cfy_…) | API key; or Authorization: Bearer <key>. |
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | the number pool id to delete. |
Example
curl -X DELETE "https://api.centerfy.ai/webhooks/inbound/number-pools/{id}" \
-H "x-api-key: $CENTERFY_API_KEY" import { CenterfyClient } from "@centerfy/sdk";
const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });
const result = await centerfy.numberPools.delete("<poolId>");
console.log(result); centerfy numberPools delete <poolId> MCP tool: centerfy_number_pools_delete (see MCP server)
Response
{
"status": "success",
"deleted": true,
"number_pool_id": "d4e5f6a7-b8c9-0123-4567-89abcdef0123",
"removed_number_assignments": 2
}Errors
400— if the id is not a valid UUID; 404 if the number pool does not exist.
Notes
Also removes the pool’s number assignments — removed_number_assignments reports how many were cleared — but does NOT delete or release the phone numbers themselves; they stay in your inventory, just no longer grouped.