Delete an event definition

DELETE /api/event_definitions/{id}

Allows you to delete an event definition.

Path parameters

  • id string Required

    the ID of the event definition to retrieve

Responses

  • 204

    No content

  • 400 application/json

    Bad request

    Hide response attribute Show response attribute object
    • error string

      Human readable version of the error status code

  • 401 application/json

    Unauthorized

    Hide response attribute Show response attribute object
    • error string

      Human readable version of the error status code

  • 404 application/json

    Not found

    Hide response attribute Show response attribute object
    • error string

      Human readable version of the error status code

DELETE /api/event_definitions/{id}
curl \
 --request DELETE 'http://localhost:4000/api/event_definitions/{id}' \
 --header "Authorization: $API_KEY"
Response examples (400)
{
  "error": "Error Reason"
}
Response examples (400)
{
  "error": "Error Reason"
}
Response examples (401)
{
  "error": "Error Reason"
}
Response examples (401)
{
  "error": "Error Reason"
}
Response examples (404)
{
  "error": "Error Reason"
}
Response examples (404)
{
  "error": "Error Reason"
}