[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-09-11 UTC."],[],[],null,["# Method: projects.sites.create\n\nCreates a new Hosting [Site](/docs/reference/hosting/rest/v1beta1/projects.sites#Site) in the specified parent Firebase project.\n\nNote that Hosting sites can take several minutes to propagate through Firebase systems.\n\n### HTTP request\n\n`POST https://firebasehosting.googleapis.com/v1beta1/{parent=projects/*}/sites`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The Firebase project in which to create a Hosting site, in the format: `projects/`\u003cvar translate=\"no\"\u003ePROJECT_IDENTIFIER\u003c/var\u003e Refer to the `Site` [`name`](../projects#Site.FIELDS.name) field for details about \u003cvar translate=\"no\"\u003ePROJECT_IDENTIFIER\u003c/var\u003e values. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `firebasehosting.sites.create` |\n\n### Query parameters\n\n| Parameters ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `siteId` | `string` Required. Immutable. A globally unique identifier for the Hosting site. This identifier is used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid domain name label. |\n| `validateOnly` | `boolean` Optional. If set, validates that the siteId is available and that the request would succeed, returning the expected resulting site or error. |\n\n### Request body\n\nThe request body contains an instance of [Site](/docs/reference/hosting/rest/v1beta1/projects.sites#Site).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Site](/docs/reference/hosting/rest/v1beta1/projects.sites#Site).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/firebase.hosting`\n- `\n https://www.googleapis.com/auth/firebase`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]