deleteUserWithHttpInfo method
Delete a user
Permanently deletes a user. It cannot be undone. This action also immediately deletes any licenses and machines that the user is associated with.
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> deleteUserWithHttpInfo(String account, String user,) async {
// ignore: prefer_const_declarations
final path = r'/accounts/{account}/users/{user}'
.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,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}