Knowledge Base: collections.remove_image
collections.remove_image
HTTP Method: POST
Parameters: api_key, user_token, slug, token
Optional Paramters: none
Uploads a new image file to the site.
Required Parameters
api_key: API token for your client.
user_token: The users token, received after the user logs in.
slug: The current slug for the collection. [string]
token: The token for the image. [string]
Usage
Simply send a HTTP POST containing the above
parameters in the body.
https://api.emberapp.com/collections/remove_image
Response
On success: HTTP 200 response.
On failure: HTTP 400 response plus an array of errors.
Example Successful XML Response
<?xml version="1.0"?>
<response>
<status code="0">OK</status>
<api>api.collections.remove_image</api>
</response>
Example Unsuccessful XML Response
<?xml version="1.0"?>
<response>
<status code="1">FAIL</status>
<api>api.collections.remove_image</api>
<errors>
<error>Unable to find that collection</error>
</errors>
</response>