Add sites to portfolio

Prev Next
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

Expand All
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

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

Unprocessable Entity

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