GitLab API icon

GitLab API

Gitlab

Actions1062

Clusters → deleteApiV4AdminClustersClusterId

AI-generated

Summary

Delete a specific GitLab cluster by its cluster ID using the GitLab Admin API endpoint.

Inputs

  • cluster_id (required) — The unique identifier of the cluster to delete.
  • baseUrl — The GitLab instance base URL, defaulting to https://gitlab.com if not specified.
  • skipAuthentication — Boolean flag to skip authentication; when false, uses the configured GitLab API credentials.

Output shape

no body — success or failure only

This operation sends a DELETE request to the /api/v4/admin/clusters/{cluster_id} endpoint. The response contains no body; success indicates the cluster was deleted, failure indicates an error. Authentication is required unless explicitly skipped.

Links

Discussion