Delete an Application

DELETE https://api.plivo.com/v1/Account/{auth_id}/Application/{app_id}/

This API would delete the Application permanently.

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 Endpoints associated with the Application, if any, are also deleted.When set to false, the Endpoints associated with the Application, if any, are not deleted.
If a newendpointapplication has been specified, then the Endpoints are reassociated with the given Application. If a newendpointapplication is not specified, then the Endpoints remain orphaned. (i.e. not associated with any Application.)cascade is set to true by default when not specified.
Optional
newendpointapplicationThe app_id of the new Application to which the Endpoints should be associated upon deletion of this Application.Required

Request Body

{"cascade"=>"true", "new_endpoint_application"=>"77506472664956327"}