GitLab API icon

GitLab API

Gitlab

Actions1062

Cluster_agents → deleteApiV4ProjectsIdClusterAgentsAgentId

AI-generated

Summary

Delete a specific cluster agent from a project in GitLab using project ID or URL-encoded path and the agent's ID.

Inputs

  • id (required) — The ID or URL-encoded path of the project from which the cluster agent will be deleted.
  • agent_id (required) — The ID of the cluster agent to delete.
  • baseUrl — The base URL of the GitLab instance, defaulting to https://gitlab.com.
  • skipAuthentication — If set to true, skips using authentication for the request.

Output shape

no body — success/failure only

The operation sends a DELETE request to the GitLab API endpoint /api/v4/projects/{id}/cluster_agents/{agent_id}. Success indicates the cluster agent was deleted. No response body is returned.

Links

Discussion