curl --request POST \
--url https://app.octavehq.com/api/v2/alternative/update \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"oId": "ao_1234",
"name": "<string>",
"internalName": "<string>",
"description": "<string>",
"whereItWorks": [
"<string>"
],
"whereItBreaks": [
"<string>"
],
"whoChampionsThisApproach": [
"<string>"
],
"whyOurApproachIsSuperior": [
"<string>"
],
"perceivedBenefits": [
"<string>"
],
"hiddenCostsAndPitfalls": [
"<string>"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
}
'{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"data": {
"oId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"name": "<string>",
"internalName": "<string>",
"description": "<string>",
"deletedAt": "<string>",
"archivedAt": "<string>",
"active": true,
"data": {
"whereItWorks": [
"<string>"
],
"whereItBreaks": [
"<string>"
],
"whoChampionsThisApproach": [
"<string>"
],
"whyOurApproachIsSuperior": [
"<string>"
],
"perceivedBenefits": [
"<string>"
],
"hiddenCostsAndPitfalls": [
"<string>"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
},
"user": {
"oId": "<string>",
"firstName": "John",
"lastName": "Doe"
},
"workspace": {
"oId": "<string>"
}
}
}Update an existing alternative
curl --request POST \
--url https://app.octavehq.com/api/v2/alternative/update \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"oId": "ao_1234",
"name": "<string>",
"internalName": "<string>",
"description": "<string>",
"whereItWorks": [
"<string>"
],
"whereItBreaks": [
"<string>"
],
"whoChampionsThisApproach": [
"<string>"
],
"whyOurApproachIsSuperior": [
"<string>"
],
"perceivedBenefits": [
"<string>"
],
"hiddenCostsAndPitfalls": [
"<string>"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
}
'{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"data": {
"oId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"name": "<string>",
"internalName": "<string>",
"description": "<string>",
"deletedAt": "<string>",
"archivedAt": "<string>",
"active": true,
"data": {
"whereItWorks": [
"<string>"
],
"whereItBreaks": [
"<string>"
],
"whoChampionsThisApproach": [
"<string>"
],
"whyOurApproachIsSuperior": [
"<string>"
],
"perceivedBenefits": [
"<string>"
],
"hiddenCostsAndPitfalls": [
"<string>"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
},
"user": {
"oId": "<string>",
"firstName": "John",
"lastName": "Doe"
},
"workspace": {
"oId": "<string>"
}
}
}Alternative update input
The ID of the alternative to update
1"ao_1234"
The name of the alternative
The internal name of the alternative
A description of the alternative
Custom fields for additional alternative information
Show child attributes