Create container

Creates a new container.

Request

Security

Table 1. Roles capable of executing the createContainer 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/createContainer.adm HTTP/1.1 Host:{manager.dsnet} id={string} provisioningCode={string} storageAccountId={string}

Curl method


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

Parameters

Table 2. Request Parameters for createContainer API method
Parameter Type Usage Default Description
id String Required   The unique ID of the new container.
provisioningCode String Required   The provisioning code for a container vault.
storageAccountId String Required  

The ID of the storage account.