Menu

DeleteEventModel

Jim

Delete Event Model

deletes a event model in the namespace of the owner identified by the apikey

! all events using the event model can not be accessed anymore

Path: cs-ws/resources/admin/eventmodel Method: DELETE
Alternative: cs-ws/resources/admin/eventmodel/delete Method: POST

Parameters

  • eventmodel_name
  • apikey

Errors:

  • 401 UNAUTHORIZED if key is invalid or not admin key
  • 404 Not Found if the event model does not exist

Example

DELETE http://localhost/cs-ws/resources/admin/eventmodel?eventmodel_name=EvModel1&
apikey=1234 HTTP/1.1

HTTP/1.1 200 OK

MongoDB Logo MongoDB