Post
/api/v1/portfolios/{portfolioId}/sites
Security
HTTP
Type bearer
Path parameters
portfolioId
stringRequired
The portfolio IDs to add sites
Body parameters
Add sites to portfolio
object
sites
Array of string
string
Responses
200
OK
object
authorization
boolean
data
Array of object (AddSiteToPortfolioResponse)
object
id
string
name
string
sites
Array of object
object
id
string
name
string
error_code
integer
error_message
string
error_status
boolean
Examplefalse
401
Unauthorized
object
error_code
integer
error_message
string
error_status
boolean
404
Not Found
object
authorization
boolean
Exampletrue
data
object
message
string
error_code
integer | null
error_message
string | null
error_status
boolean
422
Unprocessable Entity
object
authorization
boolean
Exampletrue
data
object
message
string
error_code
integer | null
error_message
string | null
error_status
boolean
500
Internal Server Error
object
authorization
boolean
Exampletrue
data
object
message
string
error_code
integer | null
error_message
string | null
error_status
boolean