Undeletes the specified CustomDomain if it has been soft-deleted. Hosting retains soft-deleted custom domains for around 30 days before permanently deleting them.
HTTP request
POST https://firebasehosting.googleapis.com/v1beta1/{name=projects/*/sites/*/customDomains/*}:undelete
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "validateOnly": boolean, "etag": string } |
| Fields | |
|---|---|
validateOnly |
If true, Hosting validates that it's possible to complete your request but doesn't actually delete the |
etag |
A tag that represents the state of the |
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/firebase.hostinghttps://www.googleapis.com/auth/firebasehttps://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.