API Method /events/categories/remove
This function removes an event from the specified category.
Arguments
- authentication
- This method requires user authentication.
- id string
- The event ID.
- category_id string
- The category ID. (See /events/get to list the category IDs for an event.)
Example Request
Here's an example URL:
http://api.evdb.com/rest/events/categories/remove?...&id=E0-001-000001237-8&category_id=music
Output Parameters
Output from this function is an XML block with the following constructs:
- status string
- ok
- messagestring
- Category removed successfully.
Example XML Response
<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
<message>Category 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 'category_id' parameters are mandatory.
- Not found
- There is no event (or category) with that identifier.