Harness · Schema

ClusterUnlinkRequest

Batch Request to unlink clusters to the environment in a batch

DevOpsGitOpsInternal Developer PortalLifecycleSoftware DeliveryCI/CDContinuous DeliveryContinuous Integration

Properties

Name Type Description
orgIdentifier string Organization identifier of the environment
projectIdentifier string Project identifier of the environment
envRef string Environment identifier for the cluster
clusters array List of cluster identifiers and names
unlinkAllClusters boolean Unlink all clusters from the environment. Warning: Setting this to true will unlink ALL clusters linked to provided environment
View JSON Schema on GitHub

JSON Schema

harness-cluster-unlink-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-cluster-unlink-request-schema.json",
  "title": "ClusterUnlinkRequest",
  "description": "Batch Request to unlink clusters to the environment in a batch",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harness-clusters-api-openapi.yml#/components/schemas/ClusterUnlinkRequest",
  "required": [
    "envRef"
  ],
  "type": "object",
  "properties": {
    "orgIdentifier": {
      "type": "string",
      "description": "Organization identifier of the environment"
    },
    "projectIdentifier": {
      "type": "string",
      "description": "Project identifier of the environment"
    },
    "envRef": {
      "type": "string",
      "description": "Environment identifier for the cluster"
    },
    "clusters": {
      "maxItems": 1000,
      "minItems": 0,
      "type": "array",
      "description": "List of cluster identifiers and names",
      "items": {
        "$ref": "#/$defs/ClusterBasicDTO"
      }
    },
    "unlinkAllClusters": {
      "type": "boolean",
      "description": "Unlink all clusters from the environment. Warning: Setting this to true will unlink ALL clusters linked to provided environment"
    }
  },
  "$defs": {
    "ClusterBasicDTO": {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "string",
          "description": "identifier of the cluster"
        },
        "agentIdentifier": {
          "type": "string",
          "description": "agent identifier of the cluster"
        },
        "name": {
          "type": "string",
          "description": "name of the cluster"
        },
        "scope": {
          "type": "string",
          "description": "scope at which the cluster exists in harness gitops, project vs org vs account",
          "enum": [
            "ACCOUNT",
            "ORGANIZATION",
            "PROJECT"
          ]
        }
      },
      "description": "List of cluster identifiers and names"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/harness-cluster-unlink-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.