Delete a phone number
Deletes the specified phone number from the account. The response contains the phone number's final deleted representation.
Path parameters
Identifies the resource.
Response
Successful response with details about a phone number.
Example response
{
"data": {
"activated_at": "2019-10-23T18:10:00.000Z",
"billing_group_id": "86f58db9-0fe3-4adc-9d1f-46e66e6e9323",
"call_forwarding_enabled": true,
"call_recording_enabled": true,
"caller_id_name_enabled": true,
"cnam_listing_enabled": true,
"connection_id": "1293384261075731499",
"connection_name": "connection-name",
"created_at": "2019-10-23T18:10:00.000Z",
"customer_reference": "customer-reference",
"deletion_lock_enabled": false,
"emergency_address_id": "1315261609962112019",
"emergency_enabled": true,
"external_pin": "1234",
"hd_voice_enabled": true,
"id": "1293384261075731499",
"messaging_profile_id": "abc85f64-5717-4562-b3fc-2c9600000000",
"messaging_profile_name": "regional-customers",
"phone_number": "+19705555098",
"phone_number_type": "local",
"purchased_at": "2019-10-23T18:10:00.000Z",
"record_type": "phone_number",
"status": "deleted",
"t38_fax_gateway_enabled": true,
"tags": [
"tag_1",
"tag_2"
],
"updated_at": "2019-10-24T18:10:00.000Z"
}
}Changes
Changed in 4 of the 61 revisions of this API.20616
- ▲
the response property
errors/items/codebecame optional for the status400response-property-became-optional
- ▲
the response property
errors/items/codebecame optional for the status401response-property-became-optional
- ▲
the response property
errors/items/codebecame optional for the status404response-property-became-optional
- ▲
the response property
errors/items/codebecame optional for the status422response-property-became-optional
- ▲
the response property
errors/items/codebecame optional for the status500response-property-became-optional
- ▲
the response property
errors/items/titlebecame optional for the status400response-property-became-optional
- ▲
the response property
errors/items/titlebecame optional for the status401response-property-became-optional
- ▲
the response property
errors/items/titlebecame optional for the status404response-property-became-optional
- ▲
the response property
errors/items/titlebecame optional for the status422response-property-became-optional
- ▲
the response property
errors/items/titlebecame optional for the status500response-property-became-optional
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status400response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status401response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status404response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status422response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status500response-property-type-changed
- ○
added the optional property
errors/items/meta/urlto the response with the400statusresponse-optional-property-added
- ○
added the optional property
errors/items/meta/urlto the response with the401statusresponse-optional-property-added
- ○
added the optional property
errors/items/meta/urlto the response with the404statusresponse-optional-property-added
- ○
added the optional property
errors/items/meta/urlto the response with the422statusresponse-optional-property-added
- ○
added the optional property
errors/items/meta/urlto the response with the500statusresponse-optional-property-added
This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status400response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status401response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status404response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status422response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status500response-property-type-changed
- ●
removed the optional property
errors/items/meta/urlfrom the response with the400statusresponse-optional-property-removed
- ●
removed the optional property
errors/items/meta/urlfrom the response with the401statusresponse-optional-property-removed
- ●
removed the optional property
errors/items/meta/urlfrom the response with the404statusresponse-optional-property-removed
- ●
removed the optional property
errors/items/meta/urlfrom the response with the422statusresponse-optional-property-removed
- ●
removed the optional property
errors/items/meta/urlfrom the response with the500statusresponse-optional-property-removed
- ○
the response property
errors/items/codebecame required for the status400response-property-became-required
- ○
the response property
errors/items/codebecame required for the status401response-property-became-required
- ○
the response property
errors/items/codebecame required for the status404response-property-became-required
- ○
the response property
errors/items/codebecame required for the status422response-property-became-required
- ○
the response property
errors/items/codebecame required for the status500response-property-became-required
- ○
the response property
errors/items/titlebecame required for the status400response-property-became-required
- ○
the response property
errors/items/titlebecame required for the status401response-property-became-required
- ○
the response property
errors/items/titlebecame required for the status404response-property-became-required
- ○
the response property
errors/items/titlebecame required for the status422response-property-became-required
- ○
the response property
errors/items/titlebecame required for the status500response-property-became-required
This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the optional property
data/activated_atto the response with the200statusresponse-optional-property-added
- ○
- ●
removed the optional property
data/activated_atfrom the response with the200statusresponse-optional-property-removed
This revision also has 111 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●