deleteUserProfileImageWithHttpInfo method
Delete user profile image
Delete a user's profile image
Note: This method returns the HTTP Response
.
Parameters:
- String userId (required): The ID of the user to delete the profile image for
Implementation
Future<http.Response> deleteUserProfileImageWithHttpInfo(
String userId,
) async {
// ignore: prefer_const_declarations
final path =
r'/users/{user_id}/profile_image'.replaceAll('{user_id}', userId);
// 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,
);
}