Skip to main content

Delete Phone Number

DELETE/api/v1/organizations/telephony-configs/{config_id}/phone-numbers/{phone_number_id}

cURL example

curl -X DELETE \
  'http://localhost:8000/api/v1/organizations/telephony-configs/{config_id}/phone-numbers/{phone_number_id}' \
  -H 'Authorization: Bearer <API_KEY>'

Parameters

NameLocationTypeDescription
config_idrequiredpathinteger
phone_number_idrequiredpathinteger
authorizationheaderobject
X-API-Keyheaderobject

Responses

200Successful Response
application/json
View schema
{}
404Not found
422Validation Error
application/json
View schema
{
  "$ref": "#/components/schemas/HTTPValidationError"
}