Remove a number from a pool
remove a single number from a pool. The number stays in your inventory.
DELETE
https://api.centerfy.ai/webhooks/inbound/number-pools/:id/numbers/:numberId 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; 404 otherwise. |
numberId | string (uuid) | Yes | the phone number id to remove from the pool; 404 if it is not currently a member of this pool. |
Example
curl -X DELETE "https://api.centerfy.ai/webhooks/inbound/number-pools/{id}/numbers/{numberId}" \
-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.removeNumber("<poolId>", "<numberId>");
console.log(result); centerfy numberPools remove-number <poolId> <numberId> MCP tool: centerfy_number_pools_remove_number (see MCP server)
Response
{
"status": "success",
"removed": true,
"number_pool_id": "3f1c9a2e-5b6d-4e8a-9c1f-2a3b4c5d6e7f",
"phone_number_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}Errors
400— invalid pool id or number id.404— pool not found, or the number is not in this pool.401— missing or invalid key.
Notes
Removes only the pool membership; the phone number remains in your inventory.