api:tools:human-tasks:delete-image
Table of Contents
API : Tools: Human Task : Delete Image
Introduction
This request will delete a specific image on a human task.
Request
| URL | https://api.telecomx.dk/tools/humantask/TASK_ID/image/IMAGE_ID | ||
|---|---|---|---|
| Method | DELETE | ||
| Access level | RESELLER_ADMIN or ADMIN | ||
| Param | TASK_ID | Id | Id of the task the image belongs to. |
| IMAGE_ID | Id | Id of the image to delete. | |
Query example
DELETE https://api.telecomx.dk/tools/humantask/12345678901234567890ABCD/image/12345678901234567890AAAA
Response
| Field | Type | Description |
|---|---|---|
| success | Boolean | True on success. |
Example
{ "success": true }
Errors
| Error code | Message | Description |
|---|---|---|
| 422 | <property> | Invalid input for the named property - the request body, query or URL parameter failed validation |
| 404 | id | Task not found |
| 404 | image | Image not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/tools/human-tasks/delete-image.txt · Last modified: by Mikkel Meerwaldt Jørgensen
