Create Container
PUT {{baseUrl}}/{{containerName}}?restype=container
This request is uses accountName
and containerName
to create an Azure storage container if it does not exist already. It uses the bearerTokenBlob
variable for authentication.
If a container with the given containerName
does not already exist, the request returns a 201 status and creates the container, and if it already exists, the request returns a 409 status.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
restype | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-ms-version | string | ||
x-mock-response-name | string |
RESPONSES
status: Created