Disable Subaccount
Immediately disables a subaccount and transfers any remaining credits back to the parent account.
POST
/
v1
/
subaccounts
/
{subaccount_id}
/
disable
Headers
Your API key for authentication.
Path Parameters
The unique identifier of the subaccount to which you want to transfer credits.
Response
Whether the subaccount was successfully disabled.
The affected subaccount’s unique identifier.
The amount of credits transferred back to the parent account.
The new balance of the parent account after the transfer.