Numbers

View as MarkdownOpen in Claude

Manage phone number assignments to 10DLC campaigns. Use this sub-resource to remove a number from its campaign assignment.

Access via client.registry.numbers on a RestClient instance.

1import { RestClient } from "@signalwire/sdk";
2
3const client = new RestClient();

delete

Remove a phone number from its campaign assignment.

Path parameters

idstringRequiredformat: "uuid"
Unique ID of the assigned number.

Example

1import { RestClient } from "@signalwire/sdk";
2
3const client = new RestClient({
4 project: "your-project-id",
5 token: "your-api-token",
6 host: "your-space.signalwire.com"
7});
8
9await client.registry.numbers.delete("number-assignment-id");