Method: projects.webApps.remove
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
POST https://firebase.googleapis.com/v1beta1/{name=projects/*/webApps/*}:remove
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The resource name of the WebApp , in the format:
projects/PROJECT_IDENTIFIER/webApps/APP_ID
Since an APP_ID is a unique identifier, the Unique Resource from Sub-Collection access pattern may be used here, in the format:
projects/-/webApps/APP_ID
Refer to the WebApp name field for details about PROJECT_IDENTIFIER and APP_ID values.
|
Request body
The request body contains data with the following structure:
JSON representation |
{
"allowMissing": boolean,
"validateOnly": boolean,
"etag": string,
"immediate": boolean
} |
Fields |
allowMissing |
boolean
If set to true, and the App is not found, the request will succeed but no action will be taken on the server.
|
validateOnly |
boolean
If set to true, the request is only validated. The App will not be removed.
|
etag |
string
Checksum provided in the WebApp resource. If provided, this checksum ensures that the client has an up-to-date value before proceeding.
|
immediate |
boolean
Determines whether to immediately delete the WebApp . If set to true, the App is immediately deleted from the Project and cannot be undeleted (that is, restored to the Project). If not set, defaults to false, which means the App will be set to expire in 30 days. Within the 30 days, the App may be restored to the Project using webApps.undelete
|
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/firebase
For more information, see the Authentication Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-24 UTC.
[null,null,["Last updated 2024-10-24 UTC."],[],[],null,["# Method: projects.webApps.remove\n\nRemoves the specified [WebApp](/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp) from the [FirebaseProject](/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject).\n\n### HTTP request\n\n`POST https://firebase.googleapis.com/v1beta1/{name=projects/*/webApps/*}:remove`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The resource name of the [WebApp](/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp), in the format: `projects/`\u003cvar translate=\"no\"\u003ePROJECT_IDENTIFIER\u003c/var\u003e`/webApps/`\u003cvar translate=\"no\"\u003eAPP_ID\u003c/var\u003e \u003cbr /\u003e Since an \u003cvar translate=\"no\"\u003eAPP_ID\u003c/var\u003e is a unique identifier, the Unique Resource from Sub-Collection access pattern may be used here, in the format: `projects/-/webApps/`\u003cvar translate=\"no\"\u003eAPP_ID\u003c/var\u003e \u003cbr /\u003e Refer to the WebApp [name](../projects.webApps#WebApp.FIELDS.name) field for details about \u003cvar translate=\"no\"\u003ePROJECT_IDENTIFIER\u003c/var\u003e and \u003cvar translate=\"no\"\u003eAPP_ID\u003c/var\u003e values. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------|\n| ``` { \"allowMissing\": boolean, \"validateOnly\": boolean, \"etag\": string, \"immediate\": boolean } ``` |\n\n| Fields ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `allow``Missing` | `boolean` If set to true, and the App is not found, the request will succeed but no action will be taken on the server. |\n| `validate``Only` | `boolean` If set to true, the request is only validated. The App will *not* be removed. |\n| `etag` | `string` Checksum provided in the [WebApp](/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp) resource. If provided, this checksum ensures that the client has an up-to-date value before proceeding. |\n| `immediate` | `boolean` Determines whether to *immediately* delete the [WebApp](/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp). If set to true, the App is immediately deleted from the Project and cannot be undeleted (that is, restored to the Project). If not set, defaults to false, which means the App will be set to expire in 30 days. Within the 30 days, the App may be restored to the Project using [webApps.undelete](/docs/reference/firebase-management/rest/v1beta1/projects.webApps/undelete#google.firebase.service.v1beta1.WebAppService.UndeleteWebApp) |\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/docs/reference/firebase-management/rest/v1beta1/operations#Operation).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/firebase`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]