{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zoho/main/json-schema/zoho-change-workspace-users-role-config-schema.json",
  "title": "ChangeWorkspaceUsersRoleConfig",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zoho-user-management-apis-api-openapi.yml#/components/schemas/ChangeWorkspaceUsersRoleConfig",
  "type": "object",
  "properties": {
    "emailIds": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "email"
      }
    },
    "domainName": {
      "type": "string",
      "description": "Domain of users whose role is being changed"
    },
    "role": {
      "type": "string",
      "description": "New role to assign (USER, WORKSPACEADMIN, or custom)"
    }
  },
  "required": [
    "emailIds",
    "role"
  ]
}