Method: projects.locations.workerPools.delete

Deletes a WorkerPool.

HTTP request

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

Path parameters

Parameters
name

string

Required. The full name of the WorkerPool. Format:projects/{project}/locations/{location}/workerPools/{workerPool}, where{project} can be project id or number. It takes the formprojects/{project}/locations/{location}/workerPools/{workerpool}.

Query parameters

Parameters
validateOnly

boolean

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

etag

string

A system-generated fingerprint for this version of the resource. 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-08-13 UTC.