Remove a code playground

Remove a code playground previously configured for an organization.

DELETE https://main.zulip.pr.business/api/v1/realm/playgrounds/{playground_id}

Changes: New in Zulip 4.0 (feature level 49).

Usage examples

#!/usr/bin/env python3

import zulip

# Pass the path to your zuliprc file here.
client = zulip.Client(config_file="~/zuliprc")

# Remove the playground with ID 1
result = client.call_endpoint(url="/realm/playgrounds/1", method="DELETE")
print(result)

curl -sSX DELETE https://main.zulip.pr.business/api/v1/realm/playgrounds/1 \
    -u BOT_EMAIL_ADDRESS:BOT_API_KEY

Parameters

playground_id integer required in path

Example: 1

The ID of the playground that you want to remove.


Response

Example response

A typical successful JSON response may look like:

{
    "msg": "",
    "result": "success"
}