Deleting a Job
Function
Delete a specified job.
URI
- URI format:
DELETE /v2/{project_id}/services/video-celebrity-recognition/tasks/{task_id} - Parameters
Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.
task_id
Yes
String
Job ID
Request Parameters
Example request
DELETE /v2/6204a5bd270343b5885144cf9c8c158d/services/video-celebrity-recognition/tasks/f18320e61e4c4dc685aa2dfc22a28dc5
Response Parameters
- Example response when the deletion fails
{ "error_code": "IVA.0005", "error_msg": "The requested resource is NOT found. The taskId f18320e61e4c4dc685aa2dfc22a28dc5 is not found." } - Response parameters
Parameter
Description
error_code
Error code. For details, see Error Codes.
error_msg
Error message
Status Codes
- Normal
If the output type is hosting, status code 202 is returned. Otherwise, status code 200 is returned.
- Abnormal
Status Code
Description
400 Bad Request
Request error. For details about the returned error code, see Error Codes.
401 Unauthorized
Authentication failed.
403 Forbidden
No operation permission.
404 Not Found
The requested resource was not found.
500 Internal Server Error
Internal service error.
503 Service Unavailable
Service unavailable.
Last Article: Querying a Single Job
Next Article: Video Content Processing APIs
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.