DeleteOptimizeTask
Deletes an optimization task in a specified AgentSpace.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
agentloop:DeleteOptimizeTask |
delete |
*OptimizeTask
|
None | None |
Request syntax
DELETE /agentspace/{agentSpace}/optimizetasks/{optimizeTaskName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| agentSpace |
string |
No |
The name of the AgentSpace. |
my-agent-space |
| optimizeTaskName |
string |
No |
The name of the optimization task. |
efficiency-analysis |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| clientToken |
string |
No |
The idempotency token. |
a1b2c3d4-1234-5678-90ab-cdef12345678 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| requestId |
string |
The request ID. |
9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M |
Examples
Success response
JSON format
{
"requestId": "9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.