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
| Name | Location | Type | Description |
|---|---|---|---|
config_idrequired | path | integer | — |
phone_number_idrequired | path | integer | — |
authorization | header | object | — |
X-API-Key | header | object | — |
Request body
application/jsonView schema
{
"$ref": "#/components/schemas/PhoneNumberUpdateRequest"
}Responses
200Successful Responseapplication/jsonView schema
{
"$ref": "#/components/schemas/PhoneNumberResponse"
}404Not found422Validation Errorapplication/jsonView schema
{
"$ref": "#/components/schemas/HTTPValidationError"
}