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

name
string
required
twilio_account_sid
string | null
twilio_auth_token
string | null
default_voice_id
string | null
region
string
default:us1

Response

id
string
required
team_id
string
required
meta
any[]
required
created_at
string<date-time> | null
required
updated_at
string<date-time> | null
required