Deleting a Scheduled Task
Function
This API is used to delete a scheduled task by ID.
URI
DELETE /v1/schedule/task/{task_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
task_id |
Yes |
String |
Definition ID of a scheduled task. Constraints An existing task that is disabled. Range A string of 26 characters starting with ST. Default Value N/A |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
data |
String |
Definition Interface response data. Range N/A |
Status code: 400
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Definition Result code. Range N/A |
|
error_msg |
String |
Definition Error description. Range N/A |
Example Requests
Delete a scheduled O&M task by task ID.
DELETE https://{Endpoint}/v1/schedule/task/ST****
Example Responses
Status code: 200
Request result is returned.
{
"data" : "ST****"
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Request result is returned. |
|
400 |
The server failed to process the request is returned. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot