@DeleteOperation
    @Operation(summary = "Delete token by id", parameters = @Parameter(name = "token", required = true, description = "The token id"))
    public void deleteToken(@Selector final String token) throws Exception {
        val ticket = getToken(token);
        if (ticket != null) {
            ticketRegistry.getObject().deleteTicket(ticket.getId());
        }
    }
Delete access token.

@param token the ticket id
@throws Exception the exception
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/web/mgmt/OAuth20TokenManagementEndpoint.java