Method: projects.locations.bareMetalClusters.bareMetalNodePools.delete

Deletes a single bare metal node pool.

HTTP request

DELETE https://gkeonprem.googleapis.com/v1/{name=projects/*/locations/*/bareMetalClusters/*/bareMetalNodePools/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the node pool to delete. Format: projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMetalNodePools/{nodepool}

Query parameters

Parameters
etag

string

The current etag of the BareMetalNodePool. If an etag is provided and does not match the current etag of the node pool, deletion will be blocked and an ABORTED error will be returned.

allowMissing

boolean

If set to true, and the bare metal node pool is not found, the request will succeed but no action will be taken on the server and return a completed LRO.

validateOnly

boolean

If set, only validate the request, but do not actually delete the node pool.

ignoreErrors

boolean

If set to true, the deletion of a bare metal node pool resource will succeed even if errors occur during deletion.

This parameter can be used when you want to delete GCP's node pool resource and you've already deleted the on-prem admin cluster that hosted your node pool.

WARNING: Using this parameter when your user cluster still exists may result in a deleted GCP node pool but an existing on-prem node pool.

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.