Microsoft Azure Functions Static Sites API

The Static Sites API from Microsoft Azure Functions — 51 operation(s) for static sites.

Operations 75

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/previewStaticSiteWorkflowFile Preview the generated workflow file for a static site · Generates a preview workflow file for the static site #
Ask an LLM
“Can I see what build workflow file Azure would generate for my static site before I create it?”
“What does the generated deployment workflow YAML look like for a static web app in a given region?”
Tell an agent
Generate a preview of the static site workflow file for region {location}.
Show me the preview workflow file Azure would write for a static site with these properties: {properties}.
GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/staticSites List all static sites in a subscription · Get all Static Sites for a subscription #
Ask an LLM
“Which static web apps exist across my whole Azure subscription?”
“Can I get every Static Web App in my subscription regardless of resource group?”
Tell an agent
List every static site in my subscription.
Give me an inventory of all Azure Static Web Apps I own subscription-wide.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites List static sites in a resource group · Gets all static sites in the specified resource group #
Ask an LLM
“What static web apps are deployed in one particular resource group?”
“Can I narrow my static site list down to a single resource group?”
Tell an agent
List the static sites in my current resource group.
Show only the static web apps that live in this resource group, not the whole subscription.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name} Get the details of a static site · Gets the details of a static site #
Ask an LLM
“What are the settings, SKU and default hostname of one of my static web apps?”
“Can I look up a single static site's configuration by its name?”
Tell an agent
Get the details of static site {name}.
Show me the SKU and properties of the static web app called {name}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name} Create or replace a static site · Creates a new static site in an existing resource group, or updates an existing… #
Ask an LLM
“How do I create a new Azure Static Web App in an existing resource group?”
“Can I choose the SKU and managed identity when I provision a static site?”
Tell an agent
Create a static site named {name} on the {sku} SKU.
Provision or fully redefine static web app {name} with identity {identity}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name} Patch properties of an existing static site · Creates a new static site in an existing resource group, or updates an existing… #
Ask an LLM
“Can I change just a few properties of a static web app without resending the whole definition?”
“Is there a partial-update call for an existing static site?”
Tell an agent
Patch static site {name} with these property changes: {properties}.
Apply a partial update to the existing static web app {name}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name} Delete a static site · Deletes a static site #
Ask an LLM
“Can I permanently remove a static web app I no longer need?”
“What happens when I tear down an entire Azure Static Web App resource?”
Tell an agent destructive · confirm first
Delete static site {name}.
Tear down the whole static web app {name} and its resource.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth List basic auth settings for a static site · Gets the basic auth properties for a static site as a collection #
Ask an LLM
“Is password protection turned on for my static web app?”
“Which basic auth configurations are set on a static site?”
Tell an agent
List the basic auth settings on static site {name}.
Show all password-protection configurations for static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName} Get one basic auth configuration of a static site · Gets the basic auth properties for a static site #
Ask an LLM
“Can I read a specific named basic auth configuration on my static site?”
“What environments does a particular basic auth entry protect on a static web app?”
Tell an agent
Get basic auth configuration {basicAuthName} for static site {name}.
Show the {basicAuthName} password-protection entry on static web app {name}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName} Add or update basic auth on a static site · Adds or updates basic auth for a static site #
Ask an LLM
“How do I password-protect my static web app with basic auth?”
“Can I change the basic auth password on an existing static site?”
Tell an agent
Set basic auth {basicAuthName} on static site {name} with these properties: {properties}.
Turn on password protection for static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds List builds of a static site · Gets all static site builds for a particular static site #
Ask an LLM
“Which builds and preview environments exist for my static web app?”
“Can I see every build environment, including pull request previews, for a static site?”
Tell an agent
List all builds for static site {name}.
Show the build environments of static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName} Get a static site build · Gets the details of a static site build #
Ask an LLM
“What is the status and hostname of one specific build environment of my static site?”
“Can I look up a single preview environment build by its name?”
Tell an agent
Get build {environmentName} of static site {name}.
Show the details of the {environmentName} environment build on static web app {name}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName} Delete a static site build environment · Deletes a static site build #
Ask an LLM
“Can I remove an old preview environment from my static web app without deleting the site?”
“What's the way to clean up a stale pull request build on a static site?”
Tell an agent destructive · confirm first
Delete build environment {environmentName} from static site {name}.
Remove the {environmentName} preview build of static web app {name}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/appsettings Set app settings on a static site build · Creates or updates the app settings of a static site build #
Ask an LLM
“Can I give one preview environment its own app settings, separate from the production site?”
“How do I set environment variables on a single static site build?”
Tell an agent
Set app settings {properties} on build {environmentName} of static site {name}.
Replace the build-level app settings for environment {environmentName} on static web app {name}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/functionappsettings Set function app settings on a static site build · Creates or updates the function app settings of a static site build #
Ask an LLM
“Can I configure settings for the managed functions of just one static site build environment?”
“Where do I set API function settings for a preview build of my static web app?”
Tell an agent
Configure the managed functions of build {environmentName} on static site {name} with settings {properties}.
Update the build-level function settings for environment {environmentName} of static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections List database connections for a static site build · Returns overviews of database connections for a static site build #
Ask an LLM
“Which databases are connected to one build environment of my static web app?”
“Can I get an overview of the database connections on a preview build?”
Tell an agent
List the database connections on build {environmentName} of static site {name}.
Give me an overview of databases linked to environment {environmentName} of static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName} Get a database connection on a static site build · Returns overview of a database connection for a static site build by name #
Ask an LLM
“Can I look up one named database connection on a specific static site build?”
“What resource does a given database connection on a preview environment point to?”
Tell an agent
Get database connection {databaseConnectionName} on build {environmentName} of static site {name}.
Show the overview of build-level database connection {databaseConnectionName} in environment {environmentName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName} Create a database connection for a static site build · Create or update a database connection for a static site build #
Ask an LLM
“Can I connect a database to only one preview environment of my static web app?”
“How do I attach a database to a specific static site build?”
Tell an agent
Create database connection {databaseConnectionName} on build {environmentName} of static site {name} with {properties}.
Connect a database called {databaseConnectionName} to the {environmentName} build of static web app {name}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName} Patch a database connection on a static site build · Create or update a database connection for a static site build #
Ask an LLM
“Can I change an existing database connection on a preview build without recreating it?”
“Is there a partial update for a build environment's database connection?”
Tell an agent
Patch database connection {databaseConnectionName} on build {environmentName} of static site {name} with {properties}.
Partially update the existing build database connection {databaseConnectionName} in environment {environmentName}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName} Delete a database connection from a static site build · Delete a database connection for a static site build #
Ask an LLM
“Can I disconnect a database from just one build environment of my static site?”
“What removes a database link from a preview environment?”
Tell an agent destructive · confirm first
Delete database connection {databaseConnectionName} from build {environmentName} of static site {name}.
Disconnect the build-level database {databaseConnectionName} from environment {environmentName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/databaseConnections/{databaseConnectionName}/show Show full details of a build database connection · Returns details of a database connection for a static site build by name #
Ask an LLM
“Can I see the full details, not just the overview, of a database connection on a static site build?”
“What configuration is behind a specific database connection on my preview environment?”
Tell an agent
Show full details of database connection {databaseConnectionName} on build {environmentName} of static site {name}.
Reveal the detailed configuration of build database connection {databaseConnectionName} in {environmentName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/functions List functions of a static site build · Gets the functions of a particular static site build #
Ask an LLM
“Which API functions are deployed in one build environment of my static web app?”
“Can I list the functions shipped with a specific preview build?”
Tell an agent
List the functions in build {environmentName} of static site {name}.
Show the API functions deployed to environment {environmentName} of static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends List backends linked to a static site build · Returns details of all backends linked to a static site build #
Ask an LLM
“Which backends are linked to one build environment of my static site?”
“Can I see all linked backends for a specific preview environment?”
Tell an agent
List the linked backends on build {environmentName} of static site {name}.
Show every backend attached to environment {environmentName} of static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName} Get a backend linked to a static site build · Returns the details of a linked backend linked to a static site build by name #
Ask an LLM
“Can I look up one named backend linked to a particular static site build?”
“What region and resource does a linked backend on my preview environment use?”
Tell an agent
Get linked backend {linkedBackendName} on build {environmentName} of static site {name}.
Show the build-level backend link {linkedBackendName} in environment {environmentName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName} Link a backend to a static site build · Link backend to a static site build #
Ask an LLM
“Can I point just one preview environment of my static web app at a different backend API?”
“How do I link a backend to a specific static site build?”
Tell an agent
Link backend {linkedBackendName} to build {environmentName} of static site {name} using {properties}.
Attach backend {linkedBackendName} to the {environmentName} environment only.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName} Unlink a backend from a static site build · Unlink a backend from a static site build #
Ask an LLM
“Can I detach a backend from just one build environment of my static site?”
“When I unlink a backend from a preview build, can I also clean up its auth configuration?”
Tell an agent destructive · confirm first
Unlink backend {linkedBackendName} from build {environmentName} of static site {name}.
Unlink build backend {linkedBackendName} from {environmentName} and set auth cleanup to {isCleaningAuthConfig}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/linkedBackends/{linkedBackendName}/validate Check a backend can link to a static site build · Validates that a backend can be linked to a static site build #
Ask an LLM
“Will this backend be accepted if I link it to my preview environment?”
“Can I validate a backend against a specific static site build before linking it?”
Tell an agent
Validate that backend {linkedBackendName} can be linked to build {environmentName} of static site {name}.
Dry-run a build backend link for {linkedBackendName} on {environmentName} with {properties}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/listAppSettings Read app settings of a static site build · Gets the application settings of a static site build #
Ask an LLM
“What app settings are currently set on one build environment of my static site?”
“Can I read back the environment variables configured for a preview build?”
Tell an agent
List the app settings on build {environmentName} of static site {name}.
Read back the build-level application settings for environment {environmentName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/listFunctionAppSettings Read function app settings of a static site build · Gets the application settings of a static site build #
Ask an LLM
“Which function app settings does one preview environment of my static site have?”
“Can I check the managed functions' settings on a specific static site build?”
Tell an agent
Read the managed function settings for build {environmentName} of static site {name}.
Read back the build-level function settings for environment {environmentName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/showDatabaseConnections Show details of all database connections on a build · Returns details of database connections for a static site build #
Ask an LLM
“Can I get the detailed configuration of every database connection on a preview build at once?”
“What full details exist for all databases connected to one static site build?”
Tell an agent
Show detailed database connections for build {environmentName} of static site {name}.
Reveal full details of every build database connection in environment {environmentName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps List bring-your-own function apps on a build · Gets the details of the user provided function apps registered with a static… #
Ask an LLM
“Which of my own function apps are registered with a particular static site build?”
“Can I see the bring-your-own Functions backends on a preview environment?”
Tell an agent
List user-provided function apps on build {environmentName} of static site {name}.
Show the bring-your-own function apps registered to environment {environmentName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName} Get a bring-your-own function app on a build · Gets the details of the user provided function app registered with a static… #
Ask an LLM
“Can I look up one registered function app on a specific static site build?”
“What are the details of my own function app attached to a preview environment?”
Tell an agent
Get user-provided function app {functionAppName} on build {environmentName} of static site {name}.
Show the build-level registration of function app {functionAppName} in {environmentName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName} Register your own function app with a build · Register a user provided function app with a static site build #
Ask an LLM
“Can I use my existing Azure Functions app as the API for one preview environment?”
“Is there a force option when registering a function app with a static site build?”
Tell an agent
Register function app {functionAppName} with build {environmentName} of static site {name}.
Force-register function app {functionAppName} on environment {environmentName} with isForced {isForced}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/userProvidedFunctionApps/{functionAppName} Detach your own function app from a build · Detach the user provided function app from the static site build #
Ask an LLM
“Can I stop one preview environment from using my registered function app?”
“What detaches a bring-your-own function app from a specific build?”
Tell an agent destructive · confirm first
Detach function app {functionAppName} from build {environmentName} of static site {name}.
Remove the build-level function app registration {functionAppName} from {environmentName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/zipdeploy Zip-deploy content to a static site environment · Deploys zipped content to a specific environment of a static site #
Ask an LLM
“Can I push a zip of my built site straight to one environment of my static web app?”
“How do I deploy zipped content to a preview environment without a CI pipeline?”
Tell an agent
Zip-deploy {properties} to environment {environmentName} of static site {name}.
Upload a zipped build into the {environmentName} environment of static web app {name}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/appsettings Set app settings for a static site · Creates or updates the app settings of a static site #
Ask an LLM
“How do I set site-wide environment variables on my static web app?”
“Can I replace the production app settings of a static site in one call?”
Tell an agent
Set app settings {properties} on static site {name}.
Overwrite the site-wide application settings of static web app {name}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/functionappsettings Set function app settings for a static site · Creates or updates the function app settings of a static site #
Ask an LLM
“Where do I configure settings for the managed API functions of my whole static site?”
“Can I update the site-wide function app settings of a static web app?”
Tell an agent
Configure the managed API functions of static site {name} with settings {properties}.
Overwrite the site-wide function settings of static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains List custom domains of a static site · Gets all static site custom domains for a particular static site #
Ask an LLM
“Which custom domains are attached to my static web app?”
“Can I see all hostnames I've mapped to a static site?”
Tell an agent
List the custom domains on static site {name}.
Show every hostname mapped to static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName} Get a custom domain of a static site · Gets an existing custom domain for a particular static site #
Ask an LLM
“What is the validation status of one custom domain on my static site?”
“Can I look up a single custom domain mapping by its hostname?”
Tell an agent
Get custom domain {domainName} on static site {name}.
Show the status of hostname {domainName} on static web app {name}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName} Add a custom domain to a static site · Creates a new static site custom domain in an existing resource group and… #
Ask an LLM
“How do I put my own domain name on a static web app?”
“Can I attach a new custom hostname to an existing static site?”
Tell an agent
Add custom domain {domainName} to static site {name}.
Map hostname {domainName} to static web app {name} with {properties}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName} Remove a custom domain from a static site · Deletes a custom domain #
Ask an LLM
“Can I take a custom domain off my static web app?”
“What removes a hostname mapping I no longer use from a static site?”
Tell an agent destructive · confirm first
Delete custom domain {domainName} from static site {name}.
Unmap hostname {domainName} from static web app {name}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/customDomains/{domainName}/validate Check a custom domain can be added to a static site · Validates a particular custom domain can be added to a static site #
Ask an LLM
“Will my domain pass validation before I try attaching it to a static web app?”
“Can I pre-check that a hostname is eligible for my static site?”
Tell an agent
Validate that domain {domainName} can be added to static site {name}.
Pre-check hostname {domainName} for static web app {name} with {properties}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections List database connections for a static site · Returns overviews of database connections for a static site #
Ask an LLM
“Which databases are connected to my static web app at the site level?”
“Can I get an overview of every database connection on a static site?”
Tell an agent
List the database connections on static site {name}.
Give me an overview of site-level databases linked to static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName} Get a database connection for a static site · Returns overview of a database connection for a static site by name #
Ask an LLM
“Can I look up one named site-level database connection on my static web app?”
“What database resource does a particular static site connection point to?”
Tell an agent
Get database connection {databaseConnectionName} on static site {name}.
Show the overview of site-level database connection {databaseConnectionName} on {name}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName} Create a database connection for a static site · Create or update a database connection for a static site #
Ask an LLM
“How do I connect a database to my static web app for all environments?”
“Can I create or replace a site-level database connection on a static site?”
Tell an agent
Create database connection {databaseConnectionName} on static site {name} with {properties}.
Connect a site-level database called {databaseConnectionName} to static web app {name}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName} Patch a database connection for a static site · Create or update a database connection for a static site #
Ask an LLM
“Can I tweak an existing site-level database connection without recreating it?”
“Is there a partial update for a static site's database connection?”
Tell an agent
Patch database connection {databaseConnectionName} on static site {name} with {properties}.
Partially update the site-level database connection {databaseConnectionName} on {name}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName} Delete a database connection from a static site · Delete a database connection for a static site #
Ask an LLM
“Can I disconnect a database from my static web app at the site level?”
“What removes a site-wide database connection from a static site?”
Tell an agent destructive · confirm first
Delete database connection {databaseConnectionName} from static site {name}.
Disconnect site-level database {databaseConnectionName} from static web app {name}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/databaseConnections/{databaseConnectionName}/show Show full details of a static site database connection · Returns details of a database connection for a static site by name #
Ask an LLM
“Can I see the full details, beyond the overview, of one site-level database connection?”
“What complete configuration sits behind a database connection on my static web app?”
Tell an agent
Expand site-level database connection {databaseConnectionName} on static site {name} with all its details.
Reveal the detailed configuration of site-level database connection {databaseConnectionName} on {name}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/detach Detach a static site · Detaches a static site #
Ask an LLM
“Can I detach a static web app from its source so it stops being tied to it?”
“What does detaching a static site do to the resource?”
Tell an agent
Detach static site {name}.
Run the detach action on static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/functions List functions of a static site · Gets the functions of a static site #
Ask an LLM
“Which API functions does my static web app expose in production?”
“Can I list the site-level functions of a static site?”
Tell an agent
List the functions of static site {name}.
Show the site-level API functions deployed on static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends List backends linked to a static site · Returns details of all backends linked to a static site #
Ask an LLM
“Which backends are linked to my static web app across the site?”
“Can I see all site-level linked backends for a static site?”
Tell an agent
List the linked backends on static site {name}.
Show every site-level backend attached to static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName} Get a backend linked to a static site · Returns the details of a linked backend linked to a static site by name #
Ask an LLM
“Can I look up one site-level linked backend by name?”
“What resource does a named backend link on my static web app point to?”
Tell an agent
Get linked backend {linkedBackendName} on static site {name}.
Show the site-level backend link {linkedBackendName} on static web app {name}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName} Link a backend to a static site · Link backend to a static site #
Ask an LLM
“How do I connect an existing backend API to my whole static web app?”
“Can I link a backend at the site level rather than per environment?”
Tell an agent
Link backend {linkedBackendName} to static site {name} using {properties}.
Attach backend {linkedBackendName} to static web app {name} for all environments.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName} Unlink a backend from a static site · Unlink a backend from a static site #
Ask an LLM
“Can I detach a site-level backend from my static web app?”
“Does unlinking a backend from a static site let me clean up its auth config too?”
Tell an agent destructive · confirm first
Unlink backend {linkedBackendName} from static site {name}.
Unlink site-level backend {linkedBackendName} from {name} with auth cleanup {isCleaningAuthConfig}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName}/validate Check a backend can link to a static site · Validates that a backend can be linked to a static site #
Ask an LLM
“Will this backend be accepted if I link it to my static web app site-wide?”
“Can I validate a site-level backend link before making it?”
Tell an agent
Validate that backend {linkedBackendName} can be linked to static site {name}.
Dry-run a site-level backend link for {linkedBackendName} on {name} with {properties}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listAppSettings Read app settings of a static site · Gets the application settings of a static site #
Ask an LLM
“What site-wide app settings are configured on my static web app?”
“Can I read back the production environment variables of a static site?”
Tell an agent
List the app settings of static site {name}.
Read back the site-wide application settings for static web app {name}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listConfiguredRoles List roles configured for a static site · Lists the roles configured for the static site #
Ask an LLM
“Which custom roles are defined on my static web app?”
“Can I see what roles users can be assigned on a static site?”
Tell an agent
List the configured roles for static site {name}.
Show the role names available on static web app {name}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listFunctionAppSettings Read function app settings of a static site · Gets the application settings of a static site #
Ask an LLM
“What site-wide function app settings does my static web app have?”
“Can I check the managed API functions' settings for the whole static site?”
Tell an agent
Read the managed API function settings for static site {name}.
Read back the site-wide function settings for static web app {name}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listSecrets List the secrets of a static site · Lists the secrets for an existing static site #
Ask an LLM
“Where can I find the deployment token and other secrets for my static web app?”
“Can I retrieve the secrets of an existing static site?”
Tell an agent
List the secrets for static site {name}.
Fetch the deployment secrets of static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections List private endpoint connections of a static site · Gets the list of private endpoint connections associated with a static site #
Ask an LLM
“Which private endpoints are connected to my static web app?”
“Can I see all private endpoint connections and their approval states on a static site?”
Tell an agent
List the private endpoint connections on static site {name}.
Show every private endpoint linked to static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName} Get a private endpoint connection of a static site · Gets a private endpoint connection #
Ask an LLM
“Is a specific private endpoint connection on my static site approved or pending?”
“Can I look up one private endpoint connection by name?”
Tell an agent
Get private endpoint connection {privateEndpointConnectionName} on static site {name}.
Show the approval state of private endpoint {privateEndpointConnectionName} on {name}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName} Approve or reject a private endpoint connection · Approves or rejects a private endpoint connection #
Ask an LLM
“How do I approve a pending private endpoint request on my static web app?”
“Can I reject a private endpoint connection someone requested to my static site?”
Tell an agent
Approve private endpoint connection {privateEndpointConnectionName} on static site {name}.
Set private endpoint {privateEndpointConnectionName} on {name} to {properties}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateEndpointConnections/{privateEndpointConnectionName} Delete a private endpoint connection · Deletes a private endpoint connection #
Ask an LLM
“Can I remove a private endpoint connection from my static web app entirely?”
“What deletes a private endpoint link on a static site?”
Tell an agent destructive · confirm first
Delete private endpoint connection {privateEndpointConnectionName} from static site {name}.
Remove the private endpoint {privateEndpointConnectionName} from static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/privateLinkResources Get private link resources for a static site · Gets the private link resources #
Ask an LLM
“Which private link resource types can my static web app expose?”
“What group IDs are available for creating a private endpoint to a static site?”
Tell an agent
Get the private link resources for static site {name}.
Show the private link group IDs supported by static web app {name}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/resetapikey Reset the API key of a static site · Resets the api key for an existing static site #
Ask an LLM
“How do I rotate the deployment API key of my static web app if it leaked?”
“Can I reset a static site's API key, invalidating the old one?”
Tell an agent destructive · confirm first
Reset the API key for static site {name}.
Rotate the deployment key of static web app {name} with {properties}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/showDatabaseConnections Show details of all database connections on a site · Returns details of database connections for a static site #
Ask an LLM
“Can I get the detailed configuration of every site-level database connection at once?”
“What full details exist for all databases connected to my static web app?”
Tell an agent
Show detailed database connections for static site {name}.
Reveal full details of every site-level database connection on static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps List bring-your-own function apps on a static site · Gets the details of the user provided function apps registered with a static… #
Ask an LLM
“Which of my own function apps are registered with my static web app at the site level?”
“Can I see the bring-your-own Functions backends for a whole static site?”
Tell an agent
List user-provided function apps on static site {name}.
Show the site-level bring-your-own function apps of static web app {name}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName} Get a bring-your-own function app on a static site · Gets the details of the user provided function app registered with a static site #
Ask an LLM
“Can I look up one site-level registered function app on my static web app?”
“What are the details of my own function app attached to a static site?”
Tell an agent
Get user-provided function app {functionAppName} on static site {name}.
Show the site-level registration of function app {functionAppName} on {name}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName} Register your own function app with a static site · Register a user provided function app with a static site #
Ask an LLM
“Can I use my existing Azure Functions app as the API for my whole static web app?”
“Is there a force flag when registering a function app with a static site?”
Tell an agent
Register function app {functionAppName} with static site {name}.
Force-register site-level function app {functionAppName} on {name} with isForced {isForced}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/userProvidedFunctionApps/{functionAppName} Detach your own function app from a static site · Detach the user provided function app from the static site #
Ask an LLM
“Can I stop my static web app from using a registered function app site-wide?”
“What detaches a bring-your-own function app from a static site?”
Tell an agent destructive · confirm first
Detach function app {functionAppName} from static site {name}.
Remove the site-level function app registration {functionAppName} from {name}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/zipdeploy Zip-deploy content to a static site · Deploys zipped content to a static site #
Ask an LLM
“Can I deploy my static site by uploading a zip instead of running a CI workflow?”
“How do I push zipped content to the production static web app?”
Tell an agent
Zip-deploy {properties} to static site {name}.
Upload a zipped build to the production site of static web app {name}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/staticSites/{name}/authproviders/{authprovider}/listUsers List users of a static site by auth provider · Gets the list of users of a static site #
Ask an LLM
“Who has been granted access to my static web app through a given identity provider?”
“Can I list the users and their roles on a static site for one auth provider?”
Tell an agent
List users of static site {name} from auth provider {authprovider}.
Show who signs in to static web app {name} via {authprovider}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/staticSites/{name}/authproviders/{authprovider}/users/{userid} Update a static site user's roles · Updates a user entry with the listed roles #
Ask an LLM
“How do I change the roles assigned to an existing user of my static web app?”
“Can I give a static site user additional roles?”
Tell an agent
Update the roles of user {userid} from {authprovider} on static site {name} to {properties}.
Change the role list for user {userid} on static web app {name} via {authprovider}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/staticSites/{name}/authproviders/{authprovider}/users/{userid} Remove a user from a static site · Deletes the user entry from the static site #
Ask an LLM
“Can I revoke a user's access to my static web app?”
“What removes a single user entry from a static site?”
Tell an agent destructive · confirm first
Delete user {userid} from auth provider {authprovider} on static site {name}.
Revoke access for user {userid} on static web app {name} via {authprovider}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure-functions:microsoft-azure-functions-static-sites-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-functions-static-sites-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WebApps API Client Static Sites API
  version: '2025-05-01'
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:


# --- truncated at 32 KB (184 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure-functions/refs/heads/main/openapi/microsoft-azure-functions-static-sites-api-openapi.yml