deleteGroupRequestWithHttpInfo method
Reject group request
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> deleteGroupRequestWithHttpInfo(
String groupId,
String requestId, {
String? lang,
}) async {
// ignore: prefer_const_declarations
final path = r'/groups/{groupId}/requests/{requestId}'
.replaceAll('{groupId}', groupId)
.replaceAll('{requestId}', requestId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (lang != null) {
queryParams.addAll(_queryParams('', 'lang', lang));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}