Method: sites.versions.delete

Deletes the specified version.

HTTP request

DELETE https://firebasehosting.googleapis.com/v1beta1/{name=sites/*/versions/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the version to be deleted, in the format:

sites/site-name/versions/versionID

Request body

The request body must be empty.

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/firebase.hosting
  • https://www.googleapis.com/auth/firebase
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

Try it!