Update a subaccount


POST https://api.46elks.com/a1/subaccounts/{id}

Request parameters

Parameter Example Description
name Company XYZ Name of subaccount
usagelimit 9000000
The usage limit for the subaccount. Set to "none" to remove the limit.
secret F1A42948A3... New secret for the subaccount.
active no Permanently deactivate the subaccount. The subaccount can't have any active numbers allocated

Response structure

Example JSON response

  "name":"This Co",
Parameter Type Description
id string ID of the subaccount, used as API username for requests by the subaccount.
secret string The secret of the account, used as API password for requests by the subaccount.
name string Name of the account.
created string Time and date when the account was created.
usagelimit integer The max amount of credits the subaccount may use.
balanceused integer The amount of credits the subaccount has used.