Delete container

Deletes an existing container.

Request

Security

Table 1. Roles capable of executing the deleteContainer API method
Any     Storage Account Admin
Super User     Container Admin  
System Admin     Elastic Device Provisioner  
Security Admin     Vault Provisioner  
Operator        

HTTP method

POST /manager/api/{apiResponseType}/1.0/deleteContainer.adm HTTP/1.1 Host:{manager.dsnet} id={string} containerName={string}

Curl method


curl -u <USERNAME>:<PASSWORD>  
     -k  'https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/storageAccountPortal/deleteContainer.adm?id={string}&containerName={string}' 

Parameters

Table 2. Request Parameters for deleteContainer API method
Parameter Type Usage Default Description
id String Required   The ID of the container to delete.
storageAccountId String Required   The ID of the storage account.