cURL
curl --request POST \ --url https://test.tensorai.tensorslab.com/v1/images/deleteimagestask \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "taskids": [ "<string>" ], "uid": "<string>" } '
{ "code": 1000, "msg": "Successfully", "data": { "status": "Success" } }
Batch delete specified image generation tasks
API Key authentication, please include the Authorization field in the request header
Delete image task request
List of task IDs to delete
User ID (optional)
Request successful
Delete task response
Response status code: 1000=Success, 9999=Failure, 9000=Insufficient Credits
Response message
Delete task response data
Show child attributes