---
updatedAt: 2026-05-27T16:58:45.000Z
agentTools:
  projectIndex: https://developer.drivewealth.com/apis/llms.txt
---

# Update Portfolio

Updates a Portfolio by portfolioID.

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Advisor APIs",
    "version": "2026-11-07",
    "contact": {
      "email": "producteng@drivewealth.tech"
    }
  },
  "servers": [
    {
      "url": "https://bo-api.drivewealth.io/back-office",
      "description": "Sandbox (No Real World Financial/Trading Impact)"
    },
    {
      "url": "https://bo-api.drivewealth.net/back-office",
      "description": "Production"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "headers": [
      {
        "key": "dw-client-app-key",
        "value": "{{yourAppKey}}"
      }
    ]
  },
  "tags": [
    {
      "name": "Portfolios"
    }
  ],
  "paths": {
    "/managed/portfolios/{portfolioID}": {
      "patch": {
        "tags": [
          "Portfolios"
        ],
        "summary": "Update Portfolio",
        "description": "Updates a Portfolio by portfolioID.",
        "parameters": [
          {
            "in": "path",
            "name": "portfolioID",
            "schema": {
              "type": "string"
            },
            "required": true,
            "example": "portfolio_123e4567-e89b-12d3-a456-00000000000b",
            "description": "A unique identifier associated with a specific Portfolio."
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "example": "Recession Proof",
                    "description": "A name given to the Portfolio by the RIA."
                  },
                  "clientPortfolioID": {
                    "$ref": "#/components/schemas/clientPortfolioID"
                  },
                  "description": {
                    "type": "string",
                    "example": "A portifolio description.",
                    "description": "A short description for the portfolio."
                  },
                  "holdings": {
                    "type": "array",
                    "description": "An array of objects that hold the type of Funds in the Portfolio.",
                    "items": {
                      "$ref": "#/components/schemas/portfolioReqHoldings"
                    }
                  },
                  "triggers": {
                    "$ref": "#/components/schemas/portfolioTriggers"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updating a Portfolio by portfolioID was Successful.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/portfolioRes"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "clientFundID": {
        "type": "string",
        "example": "AAABBB-1222-3344.123456789",
        "description": "A user defined identifier attached to the fund."
      },
      "clientPortfolioID": {
        "type": "string",
        "example": "AAABBB-1222-3344.123456789",
        "description": "A user defined identifier attached to the portfolio."
      },
      "managedAccountsUserID": {
        "type": "string",
        "example": "123e4567-e89b-12d3-a456-000000000167",
        "description": "![sensitive](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4NSIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDg1IDIwIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImdyYWQtU0VOU0lUSVZFIiB4MT0iMCIgeTE9IjAiIHgyPSIwIiB5Mj0iMSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I0NTMwOSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzkyNDAwZSIvPjwvbGluZWFyR3JhZGllbnQ+PGZpbHRlciBpZD0iZ2xvdy1TRU5TSVRJVkUiIHg9Ii02MCUiIHk9Ii02MCUiIHdpZHRoPSIyMjAlIiBoZWlnaHQ9IjIyMCUiPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjIuMiIvPjwvZmlsdGVyPjwvZGVmcz48cmVjdCB4PSIxIiB5PSIxIiB3aWR0aD0iODMiIGhlaWdodD0iMTgiIHJ4PSI5IiBmaWxsPSIjOTI0MDBlIiBmaWx0ZXI9InVybCgjZ2xvdy1TRU5TSVRJVkUpIiBvcGFjaXR5PSIwLjU1Ii8+PHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSI4NCIgaGVpZ2h0PSIxOSIgcng9IjEwIiBmaWxsPSJ1cmwoI2dyYWQtU0VOU0lUSVZFKSIgc3Ryb2tlPSIjOTI0MDBlIiBzdHJva2Utd2lkdGg9IjEiLz48cGF0aCBkPSJNMTAgNC44TDE0IDYuMlYxMEMxNCAxMi43IDEyLjMgMTQuNCAxMCAxNS40QzcuNyAxNC40IDYgMTIuNyA2IDEwVjYuMloiIGZpbGw9IiNmZmZmZmYiIGZpbHRlcj0idXJsKCNnbG93LVNFTlNJVElWRSkiIG9wYWNpdHk9IjAuNSIvPjxwYXRoIGQ9Ik0xMCA0LjhMMTQgNi4yVjEwQzE0IDEyLjcgMTIuMyAxNC40IDEwIDE1LjRDNy43IDE0LjQgNiAxMi43IDYgMTBWNi4yWiIgZmlsbD0iI2ZmZmZmZiIvPjx0ZXh0IHg9IjE4IiB5PSIxMy41IiBmb250LWZhbWlseT0iSGVsdmV0aWNhLCBBcmlhbCwgc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxMCIgZm9udC13ZWlnaHQ9IjcwMCIgbGV0dGVyLXNwYWNpbmc9IjAuNiIgZmlsbD0iI2ZmZmZmZiI+U0VOU0lUSVZFPC90ZXh0Pjwvc3ZnPg==)\nThe unique identifier of the registered investment advisors account.",
        "x-sensitive": true
      },
      "holdingsObject": {
        "type": "object",
        "description": "An object in the holdings array that holds the instrumentID and target.",
        "properties": {
          "instrumentID": {
            "type": "string",
            "example": "123e4567-e89b-12d3-a456-000000000003",
            "description": "A unique ID created by DriveWealth to identify a specific instrument."
          },
          "target": {
            "type": "number",
            "example": 0.5,
            "description": "The target percentage for the specific instrumentID within a fund."
          }
        }
      },
      "triggersObject": {
        "type": "object",
        "description": "An object that holds the details of when to trigger a rebalance of the Fund.",
        "required": [
          "type",
          "child",
          "maxAllowed",
          "lowerBound",
          "upperBound"
        ],
        "properties": {
          "type": {
            "type": "string",
            "example": "TOTAL_DRIFT",
            "description": "The type of trigger specified to enable a rebalance.",
            "enum": [
              "TOTAL_DRIFT",
              "RELATIVE_DRIFT",
              "ABSOLUTE_DRIFT"
            ],
            "x-enumDescriptions": {
              "TOTAL_DRIFT": "Triggers when the fund's overall drift threshold is exceeded.",
              "RELATIVE_DRIFT": "Triggers based on a percentage deviation relative to the target allocation.",
              "ABSOLUTE_DRIFT": "Triggers based on an absolute deviation from the target allocation."
            }
          },
          "maxAllowed": {
            "type": "number",
            "example": 0.05,
            "description": "The maximum allowed drift for the Fund."
          },
          "child": {
            "type": "string",
            "example": null
          },
          "lowerBound": {
            "type": "number",
            "example": 0.01,
            "description": "The lowest bound range of the drift parameters."
          },
          "upperBound": {
            "type": "number",
            "example": 0.02,
            "description": "The highest bound range of the drift parameter."
          }
        }
      },
      "portfolioRes": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "portfolio_123e4567-e89b-12d3-a456-00000000000b",
            "description": "The unique identifier associated with a portfolio."
          },
          "name": {
            "type": "string",
            "example": "Recession Proof",
            "description": "A name given to the Portfolio by the RIA."
          },
          "clientPortfolioID": {
            "$ref": "#/components/schemas/clientPortfolioID"
          },
          "description": {
            "type": "string",
            "example": "A portifolio description",
            "description": "A short description for the Portfolio."
          },
          "holdings": {
            "type": "array",
            "description": "An array of objects that hold the type of Funds in the Portfolio.",
            "items": {
              "$ref": "#/components/schemas/portfolioResHoldingsObject"
            }
          },
          "userID": {
            "$ref": "#/components/schemas/managedAccountsUserID"
          },
          "triggers": {
            "type": "array",
            "description": "An array of objects that hold information on when to trigger a rebalance in the Portfolio.",
            "items": {
              "$ref": "#/components/schemas/portfolioTriggers"
            }
          },
          "isFundTargetsChanged": {
            "type": "boolean",
            "example": false
          },
          "fundsTargetsChanged": {
            "type": "boolean",
            "example": false
          }
        }
      },
      "portfolioReqHoldings": {
        "type": "object",
        "required": [
          "type",
          "target"
        ],
        "properties": {
          "type": {
            "type": "string",
            "example": "FUND",
            "description": "The type of asset in a Portfolio.",
            "enum": [
              "FUND",
              "CASH_RESERVE"
            ],
            "x-enumDescriptions": {
              "FUND": "A managed fund position.",
              "CASH_RESERVE": "A cash reserve position, held for liquidity rather than invested."
            }
          },
          "id": {
            "type": "string",
            "example": "fund_123e4567-e89b-12d3-a456-000000000011",
            "description": "The unique fundID."
          },
          "target": {
            "type": "number",
            "example": 0.95,
            "description": "The percentage of a Fund within a Portfolio."
          }
        }
      },
      "portfolioTriggers": {
        "type": "object",
        "description": "An object that holds the details of when to trigger a rebalance of a Portfolio.",
        "required": [
          "type",
          "child",
          "maxAllowed",
          "lowerBound",
          "upperBound"
        ],
        "properties": {
          "type": {
            "type": "string",
            "example": "TOTAL_DRIFT",
            "description": "The type of trigger specified to enable a rebalance.",
            "enum": [
              "TOTAL_DRIFT",
              "RELATIVE_DRIFT",
              "ABSOLUTE_DRIFT"
            ],
            "x-enumDescriptions": {
              "TOTAL_DRIFT": "Triggers when the fund's overall drift threshold is exceeded.",
              "RELATIVE_DRIFT": "Triggers based on a percentage deviation relative to the target allocation.",
              "ABSOLUTE_DRIFT": "Triggers based on an absolute deviation from the target allocation."
            }
          },
          "maxAllowed": {
            "type": "number",
            "example": 0.05,
            "description": "The maximum allowed drift for the Portfolio."
          },
          "child": {
            "type": "string",
            "example": null
          },
          "lowerBound": {
            "type": "number",
            "example": 0.01,
            "description": "The lowest bound range of the drift parameters."
          },
          "upperBound": {
            "type": "number",
            "example": 0.02,
            "description": "The highest bound range of the drift parameter."
          }
        }
      },
      "portfolioResHoldingsObject": {
        "type": "object",
        "description": "An array of objects that hold details of a Fund in a Portfolio.",
        "properties": {
          "id": {
            "type": "string",
            "example": "fund_123e4567-e89b-12d3-a456-000000000011",
            "description": "The unique FundID."
          },
          "name": {
            "type": "string",
            "example": "TECH",
            "description": "A name given to the Fund by the RIA."
          },
          "type": {
            "type": "string",
            "example": "FUND",
            "description": "The type of asset in the Portfolio.",
            "enum": [
              "FUND",
              "CASH_RESERVE"
            ],
            "x-enumDescriptions": {
              "FUND": "A managed fund position.",
              "CASH_RESERVE": "A cash reserve position, held for liquidity rather than invested."
            }
          },
          "clientFundID": {
            "$ref": "#/components/schemas/clientFundID"
          },
          "description": {
            "type": "string",
            "example": "Top 10 US Tech",
            "description": "A short description for the Fund."
          },
          "target": {
            "type": "number",
            "example": 0.95,
            "description": "The percentage of a Fund within a Portfolio."
          },
          "holdings": {
            "type": "array",
            "description": "A list of the securities held in a Fund.",
            "items": {
              "$ref": "#/components/schemas/holdingsObject"
            }
          },
          "triggers": {
            "type": "array",
            "description": "The triggers associated with a Portfolio.",
            "items": {
              "$ref": "#/components/schemas/triggersObject"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  }
}
```

# Sibling pages

* [Create Portfolio](https://developer.drivewealth.com/apis/reference/post_managed-portfolios.md)
* [Retrieve Portfolio](https://developer.drivewealth.com/apis/reference/get_managed-portfolios-portfolioid.md)
* [List Portfolios by Advisor](https://developer.drivewealth.com/apis/reference/get_users-userid-managed-portfolios.md)