Skip to main content
PATCH
/
management
/
voice
/
provider-accounts
/
{account}
cURL
curl --request PATCH \
  --url https://api.comm.com/api/management/voice/provider-accounts/{account} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "api_url": "<string>",
  "api_key": "<string>",
  "username": "<string>",
  "concurrency_limit": 2,
  "is_active": true
}
'
{
  "data": {
    "id": "<string>",
    "username": "<string>",
    "name": "<string>",
    "meta": [
      "<unknown>"
    ],
    "is_active": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "deleted_at": "2023-11-07T05:31:56Z",
    "concurrency_limit": 123,
    "is_personal": "<string>",
    "numbers_count": 123
  }
}

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
api_url
string<uri>
api_key
string
username
string
concurrency_limit
integer | null
Required range: x >= 1
is_active
boolean

Response

VoiceProviderResource

data
VoiceProviderResource · object
required