Method: projects.locations.services.revisions.delete

Delete a Revision.

HTTP request

DELETE https://{endpoint}/v2/{name}

Where {endpoint} is one of the supported service endpoints.

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 form projects/{project}/locations/{location}/services/{service}/revisions/{revision}.

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

  • 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 of Operation.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.