mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +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}
|
{tab|curl}
|
||||||
|
|
||||||
``` curl
|
{generate_code_example(curl, exclude=["stream_id"])|/users/me/subscriptions/muted_topics:patch|example}
|
||||||
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"
|
|
||||||
```
|
|
||||||
|
|
||||||
{end_tabs}
|
{end_tabs}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user