API Method /events/images/remove
This function removes an image from an event.
Arguments
- authentication
- This method requires user authentication.
- id string
- The event ID.
- image_id string
- The image ID. (See /events/get to list the image IDs for an event.)
Example Request
Here's an example URL:
http://api.eventful.com/rest/events/images/remove?...&id=E0-001-000001237-8&image_id=I0-001-000000001-1
Output Parameters
Output from this function is an XML block with the following constructs:
- status string
- ok
- messagestring
- Image removed successfully.
Example XML Response
<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
<message>Image removed successfully.</message>
</response>
Error Codes
This method may return these errors in an error document:
- Authentication error
- The specified user was not found or provided invalid credentials.
- Missing parameter
- The 'id' and 'image_id' parameters are mandatory.
- Not found
- There is no event (or image) with that identifier.