protected ResponseEntity<String> createResponseEntityForTicket(final HttpServletRequest request, final Ticket tgtId) throws Throwable {
        return ticketGrantingTicketResourceEntityResponseFactory.build(tgtId, request);
    }
Destroy ticket granting ticket.

@param tgtId    ticket granting ticket id URI path param
@param request  the request
@param response the response
@return {@link ResponseEntity} representing RESTful response. Signals {@link HttpStatus#OK} when successful.
support/cas-server-support-rest-core/src/main/java/org/apereo/cas/support/rest/resources/TicketGrantingTicketResource.java