put
https://api.liquiditytech.com/api/v1/trading/portfolio
Update Trading Portfolio's name by a primary user.
Authentication required. Permission: TRADE. Primary user API keys only.
Rate limit: 3 requests per 10 seconds.
Update a trading portfolio's name.
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
portfolioId | Long | Yes | Portfolio identifier. |
name | String | Yes | New portfolio name: 6–20 characters, letters and numbers only, cannot be all numeric, case-sensitive. |
Response Fields
| Field | Type | Description |
|---|---|---|
portfolioId | Long | Portfolio identifier. |
name | String | Updated portfolio name. |
Example Request
{
"portfolioId": 2154503491108165,
"name": "NewPortfolioName"
}
Example Response
{
"code": 200,
"message": "success",
"data": {
"portfolioId": 2154503491108165,
"name": "NewPortfolioName"
}
}
