{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/comp-ai/json-schema/comp-ai-update-connection-dto-schema.json",
  "title": "UpdateConnectionDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/comp-ai-integrations-api-openapi.yml#/components/schemas/UpdateConnectionDto",
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "description": "Auto-resolved from your API key / session. You can omit this; it is ignored by the server."
    },
    "metadata": {
      "type": "object",
      "description": "Connection metadata to merge into the existing record. Common AWS keys: connectionName, regions (string array), awsScanMode ('comp_scanners' or 'security_hub'). The server shallow-merges this with the existing metadata, so include only the keys you want to change.",
      "additionalProperties": true
    }
  }
}