Delete recommendation
Delete a recommendation and its associated metadata. The recommendation must be in a terminal state (COMPLETED or FAILED) before it can be deleted.
Deleting a recommendation removes the record from ListRecommendations. It does not affect any configuration bundle versions that were created as part of the recommendation result.
Code samples
Example
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
|
|
String |
Yes |
The recommendation ID to delete. Passed as a path parameter. |
Response
| Field | Type | Description |
|---|---|---|
|
|
String |
The recommendation ID. |
|
|
String |
Status of the deleted recommendation ( |
Errors
| Error | HTTP status | Description |
|---|---|---|
|
|
404 |
No recommendation found with the specified ID. |
|
|
409 |
The recommendation is still running ( |
|
|
400 |
Invalid recommendation ID format. |
|
|
403 |
Insufficient permissions. |
|
|
429 |
Request rate exceeded. |
|
|
500 |
Service-side error. |