File tree 1 file changed +8
-1
lines changed
src/main/java/com/crowdin/client/applications
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -156,8 +156,15 @@ public ResponseObject<ApplicationInstallation> installApplication(InstallApplica
156
156
* </ul>
157
157
*/
158
158
public void deleteApplicationInstallation (String identifier ) throws HttpException , HttpBadRequestException {
159
+ this .deleteApplicationInstallation (identifier , null );
160
+ }
161
+
162
+ public void deleteApplicationInstallation (String identifier , Boolean force ) throws HttpException , HttpBadRequestException {
163
+ Map <String , Optional <Object >> queryParams = HttpRequestConfig .buildUrlParams (
164
+ "force" , Optional .ofNullable (force )
165
+ );
159
166
String builtUrl = String .format ("%s/applications/installations/%s" , this .url , identifier );
160
- this .httpClient .delete (builtUrl , new HttpRequestConfig (), Void .class );
167
+ this .httpClient .delete (builtUrl , new HttpRequestConfig (queryParams ), Void .class );
161
168
}
162
169
163
170
/**
You can’t perform that action at this time.
0 commit comments