{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-schema/automation-hub-edit-user-request-schema.json",
  "title": "EditUserRequest",
  "description": "Request payload for updating an existing user in Automation Hub",
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique identifier of the user to update",
      "example": 12345
    },
    "role": {
      "type": "string",
      "description": "Updated role to assign to the user",
      "example": "example-value"
    },
    "isActive": {
      "type": "boolean",
      "description": "Updated active status for the user account",
      "example": true
    }
  }
}