Delete path from Realm Cloud programmatically

Hello,
is it possible to delete realm path programmatically from cloud realm. I mean similar functionality as delete on Studio. Not asking how to remove all objects from realm path, want to nuke off path programmatically.

thanks,
-janne

Hi Janne

Have you tried the documentation HERE ? There’s a few methods described that might help.

It would be helpful to know if you are using classic Realm 5.x or Beta MongoDB Realm.

It would also be good to include if you are using Sync or not as that may change the answer.

Oh, and what coding platform?

1 Like

Hello,

yes, have tried with documentation. Basically I get http response 503 when trying to run http “DELETE” to right cloud realm. Path I’m using is:

  • https://XXXXXXX…de1a.cloud.realm.io/realms/files/74886C61-B18A-4211-96AB-91680980D5DA/XXXXXX/C4100FEE-5919-4031-98B1-EFDC3CE5E9A1

Jay,

we are on classic realm with full sync. We have both Swift for IOS and Javascript (node.JS) backend in use. Back end is having GraphQL access to cloud realm w/ admin rights.