public Request blacklistToken(Token token) {
        Asserts.assertNotNull(token, "token");

        String url = baseUrl
                .newBuilder()
                .addPathSegments("api/v2/blacklists/tokens")
                .build()
                .toString();
        VoidRequest request = new VoidRequest(client, url, "POST");
        request.addHeader("Authorization", "Bearer " + apiToken);
        request.setBody(token);
        return request;
    }
public Request blacklistToken ( Token token ) { Asserts . assertNotNull ( token , "token" ) ; String url = baseUrl . newBuilder ( ) . addPathSegments ( "api/v2/blacklists/tokens" ) . build ( ) . toString ( ) ; VoidRequest request = new VoidRequest ( client , url , "POST" ) ; request . addHeader ( "Authorization" , "Bearer " + apiToken ) ; request . setBody ( token ) ; return request ; }
Add a Token to the Blacklist. A token with scope blacklist:tokens is needed.
See https://auth0.com/docs/api/management/v2#!/Blacklists/post_tokens.

@param token the token to blacklist.
@return a Request to execute.