Method: projects.locations.backupPlans.backups.delete

Deletes an existing Backup.

HTTP request

DELETE https://gkebackup.googleapis.com/v1/{name=projects/*/locations/*/backupPlans/*/backups/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the Backup resource. Format: projects/*/locations/*/backupPlans/*/backups/*

Authorization requires the following IAM permission on the specified resource name:

  • gkebackup.backups.delete

Query parameters

Parameters
etag

string

If provided, this value must match the current value of the target Backup's etag field or the request is rejected.

force

boolean

If set to true, any VolumeBackups below this Backup will also be deleted. Otherwise, the request will only succeed if the Backup has no VolumeBackups.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.