api: Implement DELETE /realm/filters/<filter_id>.

This commit is contained in:
Yago González 2018-08-14 02:26:25 +02:00 committed by Eeshan Garg
parent b2de1e8e67
commit 7dfecf5577

View file

@ -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]
'''