api: Implement DELETE /realm/filters/<filter_id>.
This commit is contained in:
parent
b2de1e8e67
commit
7dfecf5577
|
@ -894,6 +894,19 @@ class Client(object):
|
|||
},
|
||||
)
|
||||
|
||||
def remove_realm_filter(self, filter_id):
|
||||
# type: (int) -> Dict[str, Any]
|
||||
'''
|
||||
Example usage:
|
||||
|
||||
>>> client.remove_realm_filter(42)
|
||||
{'result': 'success', 'msg': ''}
|
||||
'''
|
||||
return self.call_endpoint(
|
||||
url='realm/filters/{}'.format(filter_id),
|
||||
method='DELETE',
|
||||
)
|
||||
|
||||
def get_server_settings(self):
|
||||
# type: () -> Dict[str, Any]
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue