docs: Make mute-topics.md use curl example system.

This commit is contained in:
Vishnu Ks
2019-10-11 12:19:38 +00:00
committed by Tim Abbott
parent 13bdfc0ef8
commit 04cc121b77

View File

@@ -15,13 +15,7 @@ UI, and are not included in the user's unread count totals.
{tab|curl}
``` curl
curl -X PATCH {{ api_url }}/v1/users/me/subscriptions/muted_topics \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY \
-d "stream=Verona"
-d "topic=dinner"
-d "op=add"
```
{generate_code_example(curl, exclude=["stream_id"])|/users/me/subscriptions/muted_topics:patch|example}
{end_tabs}