2020-06-19 07:30:42 +02:00
|
|
|
# Delete an event queue
|
2018-01-04 21:35:32 +01:00
|
|
|
|
2020-04-28 20:00:46 +02:00
|
|
|
{generate_api_description(/events:delete)}
|
2018-01-04 21:35:32 +01:00
|
|
|
|
|
|
|
## Usage examples
|
|
|
|
|
2018-09-17 16:27:32 +02:00
|
|
|
{start_tabs}
|
|
|
|
{tab|python}
|
2018-01-04 21:35:32 +01:00
|
|
|
|
2018-06-21 01:28:33 +02:00
|
|
|
{generate_code_example(python)|/events:delete|example}
|
2018-01-04 21:35:32 +01:00
|
|
|
|
2018-09-17 16:27:32 +02:00
|
|
|
{tab|js}
|
2018-01-04 21:35:32 +01:00
|
|
|
|
2018-01-14 00:00:08 +01:00
|
|
|
More examples and documentation can be found [here](https://github.com/zulip/zulip-js).
|
2018-09-17 16:27:32 +02:00
|
|
|
|
2020-06-21 20:51:21 +02:00
|
|
|
{generate_code_example(javascript)|/events:delete|example}
|
2018-01-14 00:00:08 +01:00
|
|
|
|
2018-09-17 16:27:32 +02:00
|
|
|
{tab|curl}
|
|
|
|
|
2019-10-14 12:45:34 +02:00
|
|
|
{generate_code_example(curl)|/events:delete|example}
|
2018-01-04 21:35:32 +01:00
|
|
|
|
2018-09-17 16:27:32 +02:00
|
|
|
{end_tabs}
|
2018-01-04 21:35:32 +01:00
|
|
|
|
2020-06-18 15:35:25 +02:00
|
|
|
## Parameters
|
2018-01-20 22:03:05 +01:00
|
|
|
|
2018-06-21 01:28:33 +02:00
|
|
|
{generate_api_arguments_table|zulip.yaml|/events:delete}
|
2018-01-20 22:03:05 +01:00
|
|
|
|
2018-01-04 21:35:32 +01:00
|
|
|
## Response
|
|
|
|
|
|
|
|
#### Example response
|
|
|
|
|
|
|
|
A typical successful JSON response may look like:
|
|
|
|
|
2018-06-21 01:28:33 +02:00
|
|
|
{generate_code_example|/events:delete|fixture(200)}
|
2018-01-04 21:35:32 +01:00
|
|
|
|
|
|
|
A typical JSON response for when the `queue_id` is non-existent or the
|
|
|
|
associated queue has already been deleted:
|
|
|
|
|
2018-06-21 01:28:33 +02:00
|
|
|
{generate_code_example|/events:delete|fixture(400)}
|