{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nuix/main/json-schema/nuix-modify-group-request-schema.json",
  "title": "modifyGroupRequest",
  "x-generated": "2026-10-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nuix-group-api-openapi.yml#/components/schemas/modifyGroupRequest",
  "type": "object",
  "properties": {
    "groupId": {
      "type": "integer",
      "description": "id of the group to be modified"
    },
    "groupName": {
      "type": "string",
      "description": "optional, new name of the group"
    },
    "description": {
      "type": "string",
      "description": "optional, new description of the group"
    },
    "addCustodians": {
      "type": "array",
      "description": "optional, array of Custodian Ids to be added to the group",
      "items": {
        "type": "object",
        "properties": {
          "custodianId": {
            "type": "integer",
            "description": "id of the custodian to be added"
          }
        }
      }
    },
    "removeCustodians": {
      "type": "array",
      "description": "optional, array of Custodian Ids to be removed from the group",
      "items": {
        "type": "object",
        "properties": {
          "custodianId": {
            "type": "integer",
            "description": "id of the custodian to be removed"
          }
        }
      }
    }
  }
}