- [HTTP request](https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters/delete#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters/delete#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters/delete#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters/delete#body.request_body)
- [Response body](https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters/delete#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters/delete#body.aspect)
- [Try it!](https://docs.cloud.google.com/workstations/docs/reference/rest/v1/projects.locations.workstationClusters/delete#try-it)

Deletes the specified workstation cluster.

### HTTP request

Choose an endpoint:
global asia-south1 europe-west6 us-central1 us-east1 us-east4 us-east5 us-west1 us-west4   
`DELETE https://workstations.googleapis.com/v1/{name=projects/*/locations/*/workstationClusters/*}`

<br />

The URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. Name of the workstation cluster to delete. |

### Query parameters

| Parameters ||
|---|---|
| `validateOnly` | `boolean` Optional. If set, validate the request and preview the result, but do not apply it. |
| `etag` | `string` Optional. If set, the request will be rejected if the latest version of the workstation cluster on the server does not have this ETag. |
| `force` | `boolean` Optional. If set, any workstation configurations and workstations in the workstation cluster are also deleted. Otherwise, the request only works if the workstation cluster has no configurations or workstations. |

### Request body

The request body must be empty.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/workstations/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation`.

### Authorization scopes

Requires the following OAuth scope:

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

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).