PATCH
/
sub-accounts
/
{sub_account_id}
cURL
curl --request PATCH \
  --url https://api.bolna.ai/sub-accounts/{sub_account_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "alpha-007",
  "allow_concurrent_calls": 10
}'
{
"message": "success",
"state": "updated"
}
Currently, only the following agent attributes can be updated for the PATCH update.
  • allow_concurrent_calls
  • name

Authorizations

Authorization
string
header
required

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

Path Parameters

sub_account_id
string<uuid>
required

The sub-account ID (UUID).

Body

application/json

Fields to patch on the sub-account.

name
string

Name of the sub-account

Example:

"alpha-007"

allow_concurrent_calls
integer

The number of concurrent calls that can be made with the sub-account

Example:

10

Response

Updated sub-account

The response is of type any.