POST API/Accounts/AddDestination

Adds destinations to existing storage accounts. You can add multiple destinations (buckets) to each storage account.

Use the Destination field to specify a bucket name. The bucket must be existent.

Note that the POST API/Account/AddDestination method is not compatible with FileShare storage accounts (AccountType code 21). These accounts enable only one destination that is specified at the moment of creation using the POST API/Accounts method.

Request Information

URI Parameters


Body Parameters

Structure of destination

Name Description Type Additional Information
AccountID Storage Account ID Globally Unique Identifier Required
Destination Storage Destination Name string Required
DestinationDisplayName Displayed Destination Name string None

Request Formats

application/json, text/json

  "AccountID": "2da56775-bc76-4027-82e8-1f22f276f737",
  "Destination": "sample string 2",
  "DestinationDisplayName": "sample string 3"

application/xml, text/xml

<DestinationOfAccountCreate xmlns:i="" xmlns="">
  <Destination>sample string 2</Destination>
  <DestinationDisplayName>sample string 3</DestinationDisplayName>

Response Information

Resource Description

IHttpActionResult None.

Response Formats

  • application/json
  • text/json
  • application/xml
  • text/xml.