api: Implement PATCH /realm/profile_fields endpoint.

This commit is contained in:
Kartik Srivastava 2020-05-28 00:41:36 +05:30 committed by Tim Abbott
parent a85ac15d2d
commit e25ebce27b

View file

@ -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: