Update a sub-account
Replaces the configuration of the sub-account identified by id. Omitted fields revert to their defaults.
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Path Parameters
The unique ID of the sub-account.
123
Body
Full replacement of the sub-account. Omitted fields revert to their defaults.
Sub-account name.
255"Updated Company Name"
Status of the subaccount. One of enabled (the subaccount is active and can be used) or disabled (the subaccount is suspended).
enabled, disabled "enabled"
Default webhook URLs for inbound messages and delivery reports.
Response
Returns the updated sub-account.
Sub-account details including API key and webhook configurations.
Sub-account ID.
123
Date and time the sub-account was created in ISO 8601 format.
"2023-06-15T10:30:00Z"
Sub-account name.
"My sub-account"
Sub-account API key.
"abc123def456"
Master account ID.
456
Status of the subaccount. One of enabled (the subaccount is active and can be used) or disabled (the subaccount is suspended).
enabled, disabled "enabled"
Default webhook URLs for inbound messages and delivery reports.