zulip/templates/zerver/api/remove-playground.md

29 lines
594 B
Markdown

# Remove a playground
{generate_api_description(/realm/playgrounds/{playground_id}:delete)}
## Usage examples
{start_tabs}
{tab|python}
{generate_code_example(python)|/realm/playgrounds/{playground_id}:delete|example}
{tab|curl}
{generate_code_example(curl)|/realm/playgrounds/{playground_id}:delete|example}
{end_tabs}
## Parameters
{generate_api_arguments_table|zulip.yaml|/realm/playgrounds/{playground_id}:delete}
## Response
#### Example response
A typical successful JSON response may look like:
{generate_code_example|/realm/playgrounds/{playground_id}:delete|fixture(200)}