docs: Make update-user-group use curl example system.

This commit is contained in:
Vishnu Ks
2019-10-14 08:11:16 +00:00
committed by Tim Abbott
parent c5d6be4df7
commit d1540f7e10
2 changed files with 2 additions and 6 deletions

View File

@@ -13,12 +13,7 @@ Update the name or description of a [user group](/help/user-groups).
{tab|curl}
``` curl
curl -X PATCH {{ api_url }}/v1/user_groups/42 \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY \
-d 'name="marketing"' \
-d 'description="The marketing team."'
```
{generate_code_example(curl)|/user_groups/{group_id}:patch|example}
{end_tabs}

View File

@@ -25,6 +25,7 @@ exclude_list = [
'delete-stream.md',
'get-presence.md',
'create-user-group.md',
'update-user-group.md',
# Endpoint can be called only by administrators.
'create-user.md',
# Endpoint does not accept bot requests