@DELETE
  @Path("{targetId}")
  @Produces("text/plain")
  @ApiOperation(value = "Deletes an alert target")
  @ApiResponses({
          @ApiResponse(code = HttpStatus.SC_OK, message = MSG_SUCCESSFUL_OPERATION),
          @ApiResponse(code = HttpStatus.SC_UNAUTHORIZED, message = MSG_NOT_AUTHENTICATED),
          @ApiResponse(code = HttpStatus.SC_FORBIDDEN, message = MSG_PERMISSION_DENIED),
          @ApiResponse(code = HttpStatus.SC_INTERNAL_SERVER_ERROR, message = MSG_SERVER_ERROR),
  })
  public Response deleteTarget(String body, @Context HttpHeaders headers,
      @Context UriInfo ui, @PathParam("targetId") Long targetId) {
    return handleRequest(headers, body, ui, Request.Type.DELETE,
        createAlertTargetResource(targetId));
  }
Handles DELETE /alert_target/{targetId}
Deletes a specific alert target.

@param headers  http headers
@param ui       uri info
@param targetId alert target id

@return alert target resource representation
ambari-server/src/main/java/org/apache/ambari/server/api/services/AlertTargetService.java