mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
api_docs: Add documentation for update_user_group.
This commit is contained in:
committed by
Tim Abbott
parent
1b2f67f1bf
commit
d351564798
@@ -893,14 +893,15 @@ def create_user_group(client):
|
||||
|
||||
def update_user_group(client, group_id):
|
||||
# type: (Client, int) -> None
|
||||
# {code_example|start}
|
||||
request = {
|
||||
'group_id': group_id,
|
||||
'name': 'MUFC',
|
||||
'description': "Greatest of English football."
|
||||
'name': 'marketing',
|
||||
'description': 'The marketing team.',
|
||||
}
|
||||
|
||||
result = client.update_user_group(request)
|
||||
|
||||
# {code_example|end}
|
||||
assert result['result'] == 'success'
|
||||
|
||||
def remove_user_group(client, group_id):
|
||||
|
||||
Reference in New Issue
Block a user