diff --git a/zulip/zulip/__init__.py b/zulip/zulip/__init__.py index 66dc41f..1e53e88 100644 --- a/zulip/zulip/__init__.py +++ b/zulip/zulip/__init__.py @@ -944,6 +944,19 @@ class Client: method='DELETE', ) + def reorder_realm_profile_fields(self, **request: Any) -> Dict[str, Any]: + ''' + Example usage: + + >>> client.reorder_realm_profile_fields(order=[8, 7, 6, 5, 4, 3, 2, 1]) + {'result': 'success', 'msg': ''} + ''' + return self.call_endpoint( + url='realm/profile_fields', + method='PATCH', + request=request, + ) + def get_server_settings(self) -> Dict[str, Any]: ''' Example usage: