PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/?api-version=2023-01-01

Description for Updates the Azure storage account configurations of an app.

Servers

Path parameters

Name Type Required Description
name String Yes

Name of the app.

subscriptionId String Yes

Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

resourceGroupName String Yes

Name of the resource group to which the resource belongs.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
id String No

Resource Id.

name String No

Resource Name.

properties Object No

Azure storage accounts.

properties.name Object No

Azure Files or Blob Storage access information value for dictionary storage.

properties.name.accountName String No

Name of the storage account.

properties.name.type String No

Type of storage.

Possible values:

  • "AzureFiles"
  • "AzureBlob"
properties.name.state String No

State of the storage account.

Possible values:

  • "Ok"
  • "NotValidated"
  • "InvalidCredentials"
  • "InvalidShare"
properties.name.shareName String No

Name of the file share (container name, for Blob storage).

properties.name.accessKey String No

Access key for the storage account.

properties.name.mountPath String No

Path to mount the storage within the site's runtime environment.

type String No

Resource type.

kind String No

Kind of resource.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.