diff --git a/zulip/zulip/__init__.py b/zulip/zulip/__init__.py index 8a57a55..66dc41f 100644 --- a/zulip/zulip/__init__.py +++ b/zulip/zulip/__init__.py @@ -932,6 +932,18 @@ class Client: request=request, ) + def remove_realm_profile_field(self, field_id: int) -> Dict[str, Any]: + ''' + Example usage: + + >>> client.remove_realm_profile_field(field_id=9) + {'result': 'success', 'msg': ''} + ''' + return self.call_endpoint( + url='realm/profile_fields/{}'.format(field_id), + method='DELETE', + ) + def get_server_settings(self) -> Dict[str, Any]: ''' Example usage: