2019-06-25 22:00:34 +02:00
|
|
|
# Delete a user group
|
|
|
|
|
2020-04-28 20:00:46 +02:00
|
|
|
{generate_api_description(/user_groups/{group_id}:delete)}
|
2019-06-25 22:00:34 +02:00
|
|
|
|
|
|
|
## Usage examples
|
|
|
|
|
|
|
|
{start_tabs}
|
|
|
|
{tab|python}
|
|
|
|
|
|
|
|
{generate_code_example(python)|/user_groups/{group_id}:delete|example}
|
|
|
|
|
|
|
|
{tab|curl}
|
|
|
|
|
2019-10-14 10:12:33 +02:00
|
|
|
{generate_code_example(curl)|/user_groups/{group_id}:delete|example}
|
2019-06-25 22:00:34 +02:00
|
|
|
|
|
|
|
{end_tabs}
|
|
|
|
|
|
|
|
## Arguments
|
|
|
|
|
|
|
|
{generate_api_arguments_table|zulip.yaml|/user_groups/{group_id}:delete}
|
|
|
|
|
|
|
|
## Response
|
|
|
|
|
|
|
|
#### Example response
|
|
|
|
|
|
|
|
A typical successful JSON response may look like:
|
|
|
|
|
|
|
|
{generate_code_example|/user_groups/{group_id}:delete|fixture(200)}
|
|
|
|
|
|
|
|
An example JSON error response for an invalid user group id:
|
|
|
|
|
|
|
|
{generate_code_example|/user_groups/{group_id}:delete|fixture(400)}
|