mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
The previous code for the validator test was fairly messy due to
checking for both formats of the openapi url, one with
<variable_name> and the other with {variable_name}. To eliminate
this, we have standardized the format and restricted it to
{variable_name} as per the official format at:
https://swagger.io/docs/specification/describing-parameters.
744 B
744 B
Remove linkifiers
Remove linkifiers, regular expression patterns that are automatically linkified when they appear in messages and topics.
DELETE {{ api_url }}/v1/realm/filters/{filter_id}
Usage examples
{start_tabs} {tab|python}
{generate_code_example(python)|/realm/filters/{filter_id}:delete|example}
{tab|curl}
curl -X DELETE {{ api_url }}/v1/realm/filters/{filter_id} \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY
{end_tabs}
Arguments
{generate_api_arguments_table|zulip.yaml|/realm/filters/{filter_id}:delete}
Response
Example response
A typical successful JSON response may look like:
{generate_code_example|/realm/filters/{filter_id}:delete|fixture(200)}