Deletes a specified stress testing task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:DeleteBenchmarkTask |
*BenchmarkTask
|
None | None |
Request syntax
DELETE /api/v2/benchmark-tasks/{ClusterId}/{TaskName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The region ID of the stress testing task. |
cn-shanghai |
| TaskName |
string |
Yes |
The name of the stress testing task. You can call ListBenchmarkTask to query task names. |
benchmark-larec-test-2b11 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
40325405-579C-4D82**** |
| Message |
string |
The returned message. |
Benchmark task [benchmark-test-service-234c] is Deleting |
Examples
Success response
JSON format
{
"RequestId": "40325405-579C-4D82****",
"Message": "Benchmark task [benchmark-test-service-234c] is Deleting"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.