zulip/templates/zerver/api/update-user-group.md

835 B

{generate_api_title(/user_groups/{user_group_id}:patch)}

{generate_api_description(/user_groups/{user_group_id}:patch)}

Usage examples

{start_tabs} {tab|python}

{generate_code_example(python)|/user_groups/{user_group_id}:patch|example}

{generate_code_example(javascript)|/user_groups/{user_group_id}:patch|example}

{tab|curl}

{generate_code_example(curl)|/user_groups/{user_group_id}:patch|example}

{end_tabs}

Parameters

{generate_api_arguments_table|zulip.yaml|/user_groups/{user_group_id}:patch}

{generate_parameter_description(/user_groups/{user_group_id}:patch)}

Response

{generate_response_description(/user_groups/{user_group_id}:patch)}

Example response

{generate_code_example|/user_groups/{user_group_id}:patch|fixture(200)}

{generate_code_example|/user_groups/{user_group_id}:patch|fixture(400)}