{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-v1-agent-set-primary-node-request-schema.json",
  "title": "v1AgentSetPrimaryNodeRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harness-agents-api-openapi.yml#/components/schemas/v1AgentSetPrimaryNodeRequest",
  "type": "object",
  "properties": {
    "accountIdentifier": {
      "type": "string",
      "description": "Account Identifier for the Entity."
    },
    "orgIdentifier": {
      "type": "string",
      "description": "Organization Identifier for the Entity."
    },
    "projectIdentifier": {
      "type": "string",
      "description": "Project Identifier for the Entity."
    },
    "agentIdentifier": {
      "type": "string",
      "description": "Agent identifier for entity."
    },
    "disasterRecoveryIdentifier": {
      "type": "string",
      "description": "Disaster Recovery Identifier for entity."
    },
    "disableSyncWindows": {
      "type": "boolean",
      "description": "Disable sync windows for the new primary agent."
    }
  }
}