public ResponseWrapper deleteSensitiveWord(String word) throws APIConnectionException, APIRequestException {
        Preconditions.checkArgument(word.length() <= 10, "one word's max length is 10");
        JsonObject jsonObject = new JsonObject();
        jsonObject.addProperty("word", word);
        return _httpClient.sendDelete(_baseUrl + sensitiveWordPath, jsonObject.toString());
    }
public ResponseWrapper deleteSensitiveWord ( String word ) throws APIConnectionException , APIRequestException { Preconditions . checkArgument ( word . length ( ) <= 10 , "one word's max length is 10" ) ; JsonObject jsonObject = new JsonObject ( ) ; jsonObject . addProperty ( "word" , word ) ; return _httpClient . sendDelete ( _baseUrl + sensitiveWordPath , jsonObject . toString ( ) ) ; }
Delete sensitive word
@param word word to be deleted
@return No content
@throws APIConnectionException connect exception
@throws APIRequestException request exception