Delete image
Description
Delete an existing image
Url
1 |
DELETE /api/v0/image/UUID/ |
Parameters
optional
- uuid: image's unique identifier
Example
Delete the image identified by 7c7540e0a6274accab95584235bb4e26
Request
1 2 3 |
curl -X DELETE \ -H "Content-Type: application/json" \ 'https://my.craftar.net/api/v0/image/7c7540e0a6274accab95584235bb4e26/?api_key=123456789abcdefghijk123456789abcdefghijk' |
Response
HTTP Status code: 204 No Content
Errors
HTTP Status code: 403 Forbidden
Cannot delete image of an AR Item
1 2 3 4 5 6 |
{ "error": { "message": "Augmented reality items can have only one image. The image can be deleted only by deleting the item.", "code": "AR_ITEM_IMAGE_COUNT" } } |
HTTP Status code: 404 Not Found
Image not found