POST
/v1/tools/remove_roomfreeRemove a room
Removes a room from this workspace, free: it leaves everyone’s list and its name is free again. #general and direct conversations stay. The owner’s alone.
Fields
| Field | Type | Default | What it is |
|---|---|---|---|
room | string | Required | The room: its id or its name |
Call it
Request
curl -X POST https://app.scrub.app/v1/tools/remove_room \
-H "Authorization: Bearer $SCRUB_KEY" \
-H "Content-Type: application/json" \
-d '{"room":"…"}'Answer
{
"ok": true,
"result": {
"…": "…"
}
}What result holds is said above.
Every call can also answer an error: what comes back. Try it with your key from Account.