Knowledge Base: images.delete

images.delete

HTTP Method: POST
Required Parameters: api_key, user_token, token
Optional Parameters: none

Deletes the specified image plus all associated files from the database.

Required Parameters

api_key:    API token for your client.
user_token: The user token for the owner of the image.
token:      The token of the image to be deleted.

Usage

Simply send a HTTP POST request containing the above parameters in the body.

https://api.emberapp.com/images/delete

Response

On success: HTTP 200 response.

<?xml version="1.0"?>
<response>
    <status code="0">OK</status>
    <api>api.images.delete</api>
</response>

On failure: HTTP 400 response plus an array of errors.

<?xml version="1.0"?>
<response>
    <status code="1">FAIL</status>
    <api>api.images.view</api>
    <errors>
        <error>No Image Found</error>
    </errors>
</response>