Method: projects.locations.repositories.files.delete

Deletes a file and all of its content. It is only allowed on generic repositories. The returned operation will complete once the file has been deleted.

HTTP request


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the file to delete.

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

  • artifactregistry.files.delete

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.