Skip to main content

Update Phone Number

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

cURL example

curl -X PUT \
  'http://localhost:8000/api/v1/organizations/telephony-configs/{config_id}/phone-numbers/{phone_number_id}' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{}'

Parameters

NameLocationTypeDescription
config_idrequiredpathinteger
phone_number_idrequiredpathinteger
authorizationheaderobject
X-API-Keyheaderobject

Request body

application/json
View schema
{
  "$ref": "#/components/schemas/PhoneNumberUpdateRequest"
}

Responses

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