Request
Send your HTTP requests with an Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password Example:Authorization: Basic *****************
Body Params application/json
{
"portfolio": {
"name": "string",
"type": "INDIVIDUAL"
}
}
Request Code Samples
curl --location --request POST 'http://localhost:8100/portfolios/portfolios' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"portfolio": {
"name": "string",
"type": "INDIVIDUAL"
}
}'
Responses
{
"code": 0,
"result": {
"id": "string",
"name": "string",
"uid": "string",
"type": "INDIVIDUAL",
"createdAt": "string",
"updatedAt": "string"
},
"error": "string"
}
Modified at 2026-01-25 17:00:46