WebSiteCreate

Request body for creating a new web site.

DatacenterEnterpriseInfrastructureMicrosoftOperating SystemServer ManagementWindows ServerWindows Server 2025

Properties

Name Type Description
name string The name of the web site to create.
physical_path string The physical file system path for the web site root directory. The directory must exist.
bindings array The bindings for the web site.
application_pool object Optional application pool assignment.
server_auto_start boolean Whether the web site starts automatically when IIS starts.
enabled_protocols string The protocols enabled for this web site.
View JSON Schema on GitHub

JSON Schema

iis-administration-web-site-create-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "WebSiteCreate",
  "type": "object",
  "description": "Request body for creating a new web site.",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the web site to create."
    },
    "physical_path": {
      "type": "string",
      "description": "The physical file system path for the web site root directory. The directory must exist."
    },
    "bindings": {
      "type": "array",
      "description": "The bindings for the web site."
    },
    "application_pool": {
      "type": "object",
      "description": "Optional application pool assignment."
    },
    "server_auto_start": {
      "type": "boolean",
      "description": "Whether the web site starts automatically when IIS starts."
    },
    "enabled_protocols": {
      "type": "string",
      "description": "The protocols enabled for this web site."
    }
  }
}