Skip to main content
DELETE
Delete Phone Number
Requires Admin or Owner. Removes the registered number from this workspace configuration; it does not promise to cancel the number with its provider. Success returns 200 with a message; a missing configuration or number returns 404.

Authorizations

Authorization
string
header
required

Bandwidth Labs OAuth access token. Uses the user's selected workspace; the workspace header is not required. Do not also send an API key. Bearer-only operations may additionally require the Labs super_user role.

Headers

X-VOAI-ORGANIZATION-ID
string | null

Required with X-BW-LABS-AGENTS-API-KEY: the positive local workspace ID to access. The key owner must be a current member. Missing or invalid IDs return 400; non-member workspaces return 403. Not required for bearer authentication, which uses the user's selected workspace.

Path Parameters

config_id
integer
required
phone_number_id
integer
required

Response

Successful Response

message
string
required