Deleting a Custom Job
Function
This API is used to delete a custom job.
URI
DELETE /v1/documents/{document_id}
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| document_id | Yes | String | Definition: Job UUID. Constraints: N/A. Value range: N/A. Default value: N/A. |
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| data | String | Definition: Job ID returned by the system when a job is deleted. Value range: N/A. |
Status code: 400
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Definition: Error code. Value range: For details, see Error Codes. |
| error_msg | String | Definition: Error description. Value range: For details, see Error Codes. |
Example Requests
Delete a custom job.
DELETE https://{Endpoint}/v1/documents/{document_id} Example Responses
Status code: 200
Request succeeded.
{
"data" : "DM20250607181512xxxxx"
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Request succeeded. |
| 400 | The contained error information is returned. For more status codes, see Status Codes. |
Error Codes
See Error Codes.
What is your overall rating for this page?
Thank 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