{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-update-managed-tenant-request-schema.json",
  "title": "UpdateManagedTenantRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-mssp-managed-tenant-lifecycle-endpoints-api-openapi.yml#/components/schemas/UpdateManagedTenantRequest",
  "type": "object",
  "properties": {
    "tenantGroupId": {
      "type": "string",
      "format": "uuid"
    },
    "companyName": {
      "maxLength": 63,
      "minLength": 3,
      "type": "string"
    },
    "licenseInfo": {
      "$ref": "#/$defs/LicenseInfo"
    },
    "modules": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ModuleInfoRequest"
      }
    }
  },
  "$defs": {
    "LicenseInfo": {
      "required": [
        "allocatedCredits",
        "licensePoolId"
      ],
      "type": "object",
      "properties": {
        "licensePoolId": {
          "type": "string"
        },
        "allocatedCredits": {
          "minimum": 1,
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "ModuleInfoRequest": {
      "required": [
        "enabled",
        "featureName"
      ],
      "type": "object",
      "properties": {
        "featureName": {
          "pattern": "iam-security",
          "type": "string"
        },
        "enabled": {
          "type": "boolean"
        },
        "additionalData": {
          "type": "object",
          "additionalProperties": {
            "type": "object"
          }
        }
      }
    }
  }
}