CreatePortfolio
This method can be used for the following functionality: Create a new Portfolio
Last updated
{
"code": "..."
}{
"description": "..."
}{
"level_1_owner": "..."
}{
"level_2_owner": "..."
}{
"level_3_owner": "..."
}{
"users_with_view_access": [
"..."
]
}{
"groups_with_view_access": [
"..."
]
}{
"users_with_link_access": [
"..."
]
}{
"groups_with_link_access": [
"..."
]
}{
"name": "...",
"projects": [
"..."
],
"users_with_view_access": [
"..."
],
"users_with_link_access": [
"..."
],
"groups_with_view_access": [
"..."
],
"groups_with_link_access": [
"..."
],
"sort_order": 1
}{
"tags": [
"..."
]
}{
"custom_fields": [
{
"key": "...",
"value": "..."
}
]
}curl -X POST 'https://localhost:3000/api/ss/portfolio' -H 'Host: localhost:3000' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close' -d '{
"name": "ACME Corp.",
"code": "ACME2024",
"description": "All 2024 testing for ACME Corp.",
"streams": [
{
"name": "Web App"
},
{
"name": "Infrastructure"
}
]
}'{
"portfolio": {
"id": "..."
}
}