PUT
Update Telephony Configuration
Поле provider нельзя изменить после создания конфигурации — если нужно сменить провайдера, создайте новую конфигурацию. При обновлении учётных данных достаточно отправить только те поля, которые вы меняете. Повторная отправка маскированного конфиденциального значения сохраняет исходный секрет, поэтому можно безопасно передать ответ GET обратно в PUT без изменений.

Headers

authorization
string | null
X-API-Key
string | null

Path Parameters

config_id
integer
required

Body

application/json

Body for PUT /telephony-configs/{id}. Partial update.

name
string | null
Required string length: 1 - 64
config
ARIConfigurationRequest · object | null

Request schema for Asterisk ARI configuration.

Response

Successful Response

Body of GET /telephony-configs/{id} — credentials are masked.

id
integer
required
name
string
required
provider
string
required
is_default_outbound
boolean
required
credentials
Credentials · object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required