unsetUserCustomStatus method
Unsets user custom status
Unsets a user's custom status by updating the user's props and updates the user ##### Permissions Must be logged in as the user whose custom status is being removed.
Parameters:
- String userId (required): User ID
Implementation
Future<void> unsetUserCustomStatus(
String userId,
) async {
final response = await unsetUserCustomStatusWithHttpInfo(
userId,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
}
}