Deleting an Instant Task Record
Function
This API is used to delete an instant task record.
- Before calling this API, learn how to authenticate it.
- Before calling this API, learn about request header parameters.
Authorization Information
- If you are using role/policy-based authorization, see Permissions and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
|
Action |
Access Level |
Resource Type (*: required) |
Condition Key |
Alias |
Dependencies |
|---|---|---|---|---|---|
|
rds:task:delete |
readwrite |
- |
- |
- |
- |
Constraints
- Deleting task records will not delete instances or terminate tasks in progress.
- Deleted task records cannot be restored.
URI
- Parameter description
Table 1 Parameters Parameter
Mandatory
Description
project_id
Yes
Definition
Project ID of a tenant in a region.
To obtain the value, see Obtaining a Project ID.
Constraints
N/A
Range
N/A
Default Value
N/A
Table 2 Request parameters Parameter
Mandatory
Type
Description
id
Yes
String
Definition
Task ID.
Constraints
N/A
Range
You can obtain the task ID from Table 3.
Default Value
N/A
Request
None
Example Request
DELETE https://{Endpoint}/v3/5a7a69c429aa41b8a565c9a4995afea0/jobs?id=355fe112-ac28-490f-bcd4-cb0357694dee
Response
- Example normal response
- Abnormal response
For details, see Abnormal Request Results.
Status Code
- Normal
- Abnormal
For details, see Status Codes.
Error Code
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