Delete Realm Database from Realm Cloud



Using Swift, how do you delete/remove a Realm database from Realm Cloud?

Suppose we have a realm with the following structure


and /ToDoOld is no longer used and should be deleted. I know this can be done from the Realm Object Server but we want to be able to do it in code within our project. What’s the Swift function?

macOS 10.14, Realm version: 3.11.0


Answering my own question here due to an answer from support.

We don’t have any method in our API that allows deletion of realms programmatically. You can delete realms with https requests by sending a DELETE.