Canceling a Scheduled Task
Function
This function is used to cancel a scheduled task based on the task ID.
Constraints
This API supports the following types of instances:
- GeminiDB Influx
- GeminiDB Redis
- GeminiDB Mongo
- GeminiDB Cassandra
URI
DELETE https://{Endpoint}/v3/{project_id}/scheduled-jobs/{job_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID of a user in a region |
job_id |
Yes |
String |
Task ID. The value is the same as the job_id field returned in the scheduled task list. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token |
Response Parameters
Status code: 204
None
Example Requests
Cancel a scheduled task.
DELETE https://{Endpoint}/v3/0549b4a43100d4f32f51c01c2fe4acdb/scheduled-jobs/56d3c1138dcf4f1da73b0170700c78d0
Example Responses
None
Status Codes
For details, see Status Codes.
Error Codes
For details, 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