PUT
/
v1
/
voice
/
accounts
/
{account}
cURL
curl --request PUT \
  --url https://api.comm.com/api/v1/voice/accounts/{account} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "twilio_account_sid": "<string>",
  "twilio_auth_token": "<string>",
  "default_voice_id": "<string>",
  "region": "us1"
}'
{
  "id": "<string>",
  "team_id": "<string>",
  "meta": [
    "<any>"
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account
string<uuid>
required

The account ID

Body

application/json

VoiceAccountUpdateDataRequest

The body is of type object.

Response

200
application/json

The response is of type object.