Update Recommendation
Update an existing recommendation
Request
URI
PUT
https://{api_host}/suite-api/api/recommendations
COPY
Request Body
The Recommendation to update
recommendation
of type(s)
application/json
Required
Show optional properties
{
"description": "string"
}
"{\n \"id\" : \"e954e7ea-fdb3-42b5-9876-b79ae710ca4c\",\n \"description\" : \"Restart the modified Virtual Machine\",\n \"action\" : {\n \"actionAdapterKindId\" : \"VcoRemediation\",\n \"targetAdapterKindId\" : \"VMWARE\",\n \"targetResourceKindId\" : \"VirtualMachine\",\n \"targetMethod\" : \"reset\"\n }\n}"
string
id
Optional
The recommendation id. Must be null during creation (System generated identifier)
string
description
Required
The description for the recommendation
object
action
Optional
Identifies an action the system may take to solve a problem.
Responses
200
The updated recommendation
Returns
recommendation
of type(s)
application/json
"{\n \"id\" : \"c4614fad-ad3c-472f-9999-f3b5a04dbcc1\",\n \"description\" : \"Restart the modified Virtual Machine\",\n \"action\" : {\n \"actionAdapterKindId\" : \"VcoRemediation\",\n \"targetAdapterKindId\" : \"VMWARE\",\n \"targetResourceKindId\" : \"VirtualMachine\",\n \"targetMethod\" : \"reset\"\n }\n}"
string
id
Optional
The recommendation id. Must be null during creation (System generated identifier)
string
description
Required
The description for the recommendation
object
action
Optional
Identifies an action the system may take to solve a problem.
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"description:"string"}' https://{api_host}/suite-api/api/recommendations