zulip/templates/zerver/api/archive-stream.md

706 B

{generate_api_title(/streams/{stream_id}:delete)}

{generate_api_description(/streams/{stream_id}:delete)}

Usage examples

{start_tabs} {tab|python}

{generate_code_example(python)|/streams/{stream_id}:delete|example}

{generate_code_example(javascript)|/streams/{stream_id}:delete|example}

{tab|curl}

{generate_code_example(curl)|/streams/{stream_id}:delete|example}

{end_tabs}

Parameters

Note: The following parameters are all URL query parameters.

{generate_api_arguments_table|zulip.yaml|/streams/{stream_id}:delete}

Response

Example response

{generate_code_example|/streams/{stream_id}:delete|fixture(200)}

{generate_code_example|/streams/{stream_id}:delete|fixture(400)}