Delete a Subaccount

DELETE https://api.plivo.com/v1/Account/{{auth_id}}/Subaccount/{subauth_id}/

Permanently delete a Subaccount. This also associates all Numbers, Endpoints and Applications that were linked to the deleted subaccount to the main Plivo Account.

Below is the list of arguments that can be passed in this API request, more information can be found here

ArgumentsDescriptionRequired/Conditional/Optional
cascadeIf cascade is set to true, the Applications, Endpoints, and Numbers associated with the Subaccount are also deleted. When set to false, the Applications, Endpoints, and Numbers are mapped with the main account.cascade is set to false by default when not specified.Optional