Website

Delete image from collection

Last update: 12.12.2023

DELETE: https://www.autovit.ro/api/open/imageCollections/:id/images/:imageId

Permission: write

Request example:

Header

Field Type Description
User-Agent string Account email.

Parameter

Field Type Description
id Number Images collection id
imageId Number Id of deleted image

Example request:
		DELETE /imageCollections/821165357/images/1 HTTP/1.1

User-Agent: $USER_EMAIL
Content-Type: application/json
Authorization: Bearer $ACCESS_TOKEN			
		
Copied to clipboard
Success response:
		HTTP/1.1 204 No Content			
		
Copied to clipboard
Error response example:
		HTTP/1.1 404 Not Found
{
    "error":
    {
        "type": "NotFoundException",
        "message": "Image not found"
    }
}			
		
Copied to clipboard