The Subaccount Object
Attributes
Example Object
Create a Subaccount
Creates a new subaccount.Arguments
Example
Response
Retrieve a Subaccount
Get details of a specific subaccount.Arguments
No arguments required.
Example
Response
List All Subaccounts
Returns all subaccounts sorted by creation date, newest first.Arguments
Example
Response
Pagination metadata:
limit (results per page), offset (items skipped), total_count (total matching subaccounts).Array of subaccount objects — see The Subaccount Object.
Update a Subaccount
Updates a subaccount. Parameters not provided remain unchanged.Arguments
Example
Response
Delete a Subaccount
Permanently deletes a subaccount.Arguments
If
true, deletes associated Applications, Endpoints, and Numbers. If false, maps them to the main account. Default: false.