diff --git a/zulip/zulip/__init__.py b/zulip/zulip/__init__.py index 1e53e88..a7e95f5 100644 --- a/zulip/zulip/__init__.py +++ b/zulip/zulip/__init__.py @@ -957,6 +957,19 @@ class Client: request=request, ) + def update_realm_profile_field(self, field_id: int, **request: Any) -> Dict[str, Any]: + ''' + Example usage: + + >>> client.update_realm_profile_field(field_id=1, name='Email') + {'result': 'success', 'msg': ''} + ''' + return self.call_endpoint( + url='realm/profile_fields/{}'.format(field_id), + method='PATCH', + request=request, + ) + def get_server_settings(self) -> Dict[str, Any]: ''' Example usage: