Delete all zones

PHOTO EMBED

Fri Mar 19 2021 18:21:39 GMT+0000 (UTC)

Saved by @roxanneskelly

    // delete existing zones
    await fetch(space_url(`/zones/`), {
        method: 'DELETE'
    });
content_copyCOPY

https://github.com/highfidelity/Spatial-Audio-API-Examples/blob/main/experiments/environments/office/util/index.js