unbanUserWithHttpInfo method
Unban user
Action to unban a user.
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> unbanUserWithHttpInfo(String account, String user,) async {
// ignore: prefer_const_declarations
final path = r'/accounts/{account}/users/{user}/actions/unban'
.replaceAll('{account}', account)
.replaceAll('{user}', user);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}