PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName}/?api-version=2023-01-01

Description for Register a user provided function app with a static site

Servers

Path parameters

Name Type Required Description
name String Yes

Name of the static site.

functionAppName String Yes

Name of the function app to register with the static site.

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"

Query parameters

Name Type Required Description
isForced Boolean No

Specify true to force the update of the auth configuration on the function app even if an AzureStaticWebApps provider is already configured on the function app. The default is false.

Request body fields

Name Type Required Description
id String No

Resource Id.

name String No

Resource Name.

properties Object No

StaticSiteUserProvidedFunctionAppARMResource resource specific properties

properties.functionAppRegion String No

The region of the function app registered with the static site

properties.createdOn String No

The date and time on which the function app was registered with the static site.

properties.functionAppResourceId String No

The resource id of the function app registered with the static site

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.