Skip to main content
PUT
Update a sub-account
Updates the subaccount by setting the provided parameters. Parameters that are not provided remain unchanged.
Authentication required:
  • X-Auth-ID - Your account Auth ID
  • X-Auth-Token - Your account Auth Token
  • Content-Type: application/json
Use this endpoint to update sub-account settings such as description, rate limits, or permissions.

Parameters

Request

Response Example

Success Response (200 OK)
The response returns the full updated sub-account object. Notice the updated_at timestamp has changed to reflect the modification.

Changing kyc_mode

Promoting a sub-account from personal_use to customer_use requires it to already have an email - otherwise the call fails with 400. On any kyc_mode change, kyc_calls_blocked is re-derived from the sub-account’s current KYC state:
  • Promote to customer_use on a sub-account that has not completed its own KYC → kyc_calls_blocked becomes true and calls are blocked until it verifies.
  • Demote to personal_use → the sub-account inherits the parent’s KYC and kyc_calls_blocked becomes false.
Promoting a live sub-account to customer_use can immediately block its calls. Run KYC (or Test Mode) before flipping the mode on production traffic.

Authorizations

X-Auth-ID
string
header
required

Your Vobiz account Auth ID

X-Auth-Token
string
header
required

Your Vobiz account Auth Token

Path Parameters

auth_id
string
required

Your account Auth ID

Example:

"MA_XXXXXX"

sub_auth_id
string
required

Body

application/json
name
string
enabled
boolean
kyc_mode
enum<string>

Change the verification mode. Promoting to customer_use requires the sub-account to have an email.

Available options:
personal_use,
customer_use

Response

200 - application/json

Sub-account updated

name
string
required
email
unknown
required
phone
unknown
required
description
unknown
required
permissions
unknown
required
rate_limit
integer
required
id
string
required
parent_account_id
string
required
parent_auth_id
string
required
auth_id
string
required
auth_token
string
required
api_id
string
required
email_verified
boolean
required
enabled
boolean
required
created
string
required
modified
string
required
is_active
boolean
required
created_at
string
required
updated_at
string
required
last_used
unknown
required
account
string
required
resource_uri
string
required