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

    return handleRequest(headers, null, ui, Request.Type.DELETE, createTargetClusterResource(targetName));
  }
Handles: DELETE /targets/{targetName}
Delete a specific target.

@param headers     http headers
@param ui          uri info
@param targetName target id
@return information regarding the deleted target
ambari-server/src/main/java/org/apache/ambari/server/api/services/TargetClusterService.java