Skip to main content

Release a Phone Number

DELETE 

https://YOUR_SPACE.signalwire.com/api/relay/rest/phone_numbers/:id

Permanently releases a Phone Number. This cannot be undone. Its existing logs will still be available but any new calls or messages will not work.

Permissions

The API token must include the following scopes: Numbers.

Request

Responses

No Content

Authorization: http

name: basic_authtype: httpscheme: basic
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://YOUR_SPACE.signalwire.com/api/relay/rest/phone_numbers/:id");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://YOUR_SPACE.signalwire.com/api/relay/rest
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!