api_docs: Add documentation for update_user_group.

This commit is contained in:
sameerchoubey
2019-06-26 01:13:53 +05:30
committed by Tim Abbott
parent 1b2f67f1bf
commit d351564798
4 changed files with 99 additions and 3 deletions

View File

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