PATCH /v2/portfolios/:id Update a portfolio's mutable attributes and its `accounts` / `depositories` relationships. Path params: id (required) — Portfolio identifier. Request: { "data": { "type": "portfolio", "id": "string (must match path id)", "attributes": { "name": "string (optional)" }, "relationships": { "accounts": { "data": [ { "type": "account", "id": "string" } ] }, "depositories": { "data": [ { "type": "depository", "id": "string" } ] } } } } Send only the fields you want to change. Response (204 No Content): Empty body.