docs: Make delete-stream use curl example system.

This commit is contained in:
Vishnu Ks
2019-10-11 12:33:02 +00:00
committed by Tim Abbott
parent 8b29f52d09
commit ea06dc6ab3
2 changed files with 2 additions and 4 deletions

View File

@@ -13,10 +13,7 @@
{tab|curl}
``` curl
curl -X DELETE {{ api_url }}/v1/streams/{stream_id} \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY
```
{generate_code_example(curl)|/streams/{stream_id}:delete|example}
{end_tabs}

View File

@@ -22,6 +22,7 @@ exclude_list = [
'update-subscription-properties.md',
'remove-subscriptions.md',
'get-stream-topics.md',
'delete-stream.md',
]
def test_generated_curl_examples_for_success(client: Client) -> None: