Remove a stream from the set of default streams
for new users joining the organization.
Usage examples
Python
curl
#!/usr/bin/env pythonimportzulip# The user for this zuliprc file must be an organization administratorclient=zulip.Client(config_file="~/zuliprc-admin")# Remove a stream from the set of default streams for new users.request={"stream_id":7}result=client.call_endpoint(url="/default_streams",method="DELETE",request=request,)print(result)
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"}
A typical failed JSON response for when an invalid stream ID is passed: