@DeleteMapping(value = RestProtocolConstants.ENDPOINT_TICKETS + "/{tgtId:.+}",
        produces = MediaType.APPLICATION_JSON_VALUE)
    @Operation(summary = "Delete ticket-granting ticket",
        parameters = @Parameter(name = "tgtId", in = ParameterIn.PATH, required = true, description = "Ticket-granting ticket id"))
    public ResponseEntity<List<SingleLogoutRequestContext>> deleteTicketGrantingTicket(@PathVariable("tgtId") final String tgtId,
                                                                                       final HttpServletRequest request,
                                                                                       final HttpServletResponse response) {
        val requests = singleLogoutRequestExecutor.execute(tgtId, request, response);
        return new ResponseEntity<>(requests, HttpStatus.OK);
    }
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