mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
docs: Make mute-topics.md use curl example system.
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user