@DELETE @ApiIgnore // until documented
  @Path("{eventId}")
  @Produces("text/plain")
  public Response deleteEvent(@Context HttpHeaders headers, @Context UriInfo ui,
                             @PathParam("eventId") String eventId) {

    return handleRequest(headers, null, ui, Request.Type.DELETE, createEventResource(eventId));
  }
Handles: DELETE /ldap_sync_events/{eventId}
Delete a specific view.

@param headers  http headers
@param ui       uri info
@param eventId  event id

@return information regarding the deleted event
ambari-server/src/main/java/org/apache/ambari/server/api/services/LdapSyncEventService.java