Unmute a user
This endpoint unmutes a user.
DELETE https://z.labs.greyorange.com/api/v1/users/me/muted_users/{muted_user_id}
Changes: New in Zulip 4.0 (feature level 48).
Usage examples
#!/usr/bin/env python3
import zulip
# Pass the path to your zuliprc file here.
client = zulip.Client(config_file="~/zuliprc")
# Unmute user with ID 10
muted_user_id = 10
result = client.call_endpoint(url=f"/users/me/muted_users/{muted_user_id}", method="DELETE")
print(result)
curl -sSX DELETE https://z.labs.greyorange.com/api/v1/users/me/muted_users/10 \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY
Parameters
muted_user_id integer required in path
Example: 10
The ID of the user to mute/un-mute.
Response
Example response
A typical successful JSON response may look like:
{
"msg": "",
"result": "success"
}
An example JSON response for when the user is nonexistent or inaccessible:
{
"msg": "No such user",
"result": "error"
}
An example JSON response for when the user is not previously muted:
{
"msg": "User is not muted",
"result": "error"
}