Create a portfolio

Prev Next
Post
/api/v1/portfolios
Security
HTTP
Type bearer
Body parameters

Add a new portfolio

object
description
string
name
string
Responses
200

OK

Expand All
object
authorization
boolean
data
object (NewPortfolioResponse)
description
string
fState
string
id
string
name
string
whenChanged
string
whenCreated
string
error_code
integer
error_message
string
error_status
boolean
Examplefalse
400

Bad request body

Expand All
object
authorization
boolean
Exampletrue
data
object
message
string
error_code
integer | null
error_message
string | null
error_status
boolean
401

Unauthorized

object
error_code
integer
error_message
string
error_status
boolean
404

Not Found

Expand All
object
authorization
boolean
Exampletrue
data
object
message
string
error_code
integer | null
error_message
string | null
error_status
boolean
500

Internal Server Error

Expand All
object
authorization
boolean
Exampletrue
data
object
message
string
error_code
integer | null
error_message
string | null
error_status
boolean