Batch Deleting Metadata Tasks
Function
This API is used to batch delete metadata tasks. You can delete multiple tasks by specifying the task ID list.
Calling Method
For details, see Calling APIs.
URI
DELETE /v1/{project_id}/metadata/task-templates
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Unique project ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
[items] |
Yes |
Array of longs |
Request body for batch deleting tasks, including the task ID list. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
Task ID. |
|
msg |
String |
Operation status message. |
|
status |
String |
Operation status. |
Status code: 204
Resource deleted.
Example Requests
DELETE /v1/{project_id}/metadata/task-templates
[ 0 ]
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Deleted. |
|
204 |
Resource deleted. |
|
401 |
Unauthorized. The user is not logged in or the token is invalid. |
|
403 |
Unauthorized to access the resource. |
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