portfolios

Create Portfolio

Create a new portfolio

post/portfolios

Request

Request body

isDefiVaultboolean

Flag to indicate if the portfolio is a DeFi vault

organizationIdstring required

Organization id

parentPortfolioIdstring

Parent portfolio id

portfolioDescriptionstring

Portfolio description

portfolioIdstring required

Portfolio id

portfolioNamestring required

Portfolio name

portfolioType'custody' | 'trading-vault' | 'trading' | 'external' | 'clearloop' required

Example request

{
  "portfolioDescription": "My portfolio description",
  "portfolioName": "My portfolio"
}

Response

OK

createdAtstring required

Portfolio creation date

createdBystring required

Portfolio creator ID

isActiveboolean required

Portfolio active state

organizationIdstring

Organization ID

portfolioDescriptionstring

Portfolio description

portfolioIdstring required

Portfolio id

portfolioNamestring required

Portfolio name

portfolioType'custody' | 'trading-vault' | 'trading' | 'external' | 'clearloop' required
statusstring
updatedAtstring

Portfolio update date

updatedBystring

Portfolio updater ID

Example response

{
  "createdAt": "1617235200000",
  "extra": {
    "exchange": "okex"
  },
  "organizationId": "1fa95ae7-5f74-4258-a4c6-687b39d7941d",
  "portfolioDescription": "My portfolio description",
  "portfolioName": "My portfolio",
  "updatedAt": "1617235200000"
}

Changes

No recorded changes to this operation across all 1 revision of this API.