Unmute a user
from the perspective of the requesting user.
Changes: New in Zulip 4.0 (feature level 48).
Usage examples
Python
curl
#!/usr/bin/env python3importzulip# Pass the path to your zuliprc file here.client=zulip.Client(config_file="~/zuliprc")# Unmute a user, given the user's ID.result=client.call_endpoint(url=f"/users/me/muted_users/{muted_user_id}",method="DELETE")print(result)
Changes: Before Zulip 8.0 (feature level 188), bot users could not
be muted/unmuted, and specifying a bot user's ID returned an error response.
Response
Example response(s)
Changes: As of Zulip 7.0 (feature level 167), if any
parameters sent in the request are not supported by this
endpoint, a successful JSON response will include an
ignored_parameters_unsupported array.
A typical successful JSON response may look like:
{"msg":"","result":"success"}
An example JSON response for when the user is nonexistent or inaccessible:
{"code":"BAD_REQUEST","msg":"No such user","result":"error"}
An example JSON response for when the user is not previously muted:
{"code":"BAD_REQUEST","msg":"User is not muted","result":"error"}