Method: projects.locations.services.revisions.delete

Deletes a Revision.

HTTP request

DELETE https://run.googleapis.com/v2/{name}

Path parameters

Parameters
name

string

Required. The name of the Revision to delete. Format: projects/{project}/locations/{location}/services/{service}/revisions/{revision} It takes the formprojects/{project}/locations/{location}/services/{service}/revisions/{revision}.

Authorization requires the followingIAM permission on the specified resourcename:

  • run.revisions.delete

Query parameters

Parameters
validateOnly

boolean

Indicates that the request should be validated without actually deleting any resources.

etag

string

A system-generated fingerprint for this version of the resource. This may be used to detect modification conflict during updates.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance ofOperation.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see theAuthentication Overview.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-09 UTC.