Remove class / schema from synced realm

Hi, i read https://docs.mongodb.com/realm/sdk/dotnet/examples/modify-an-object-schema/ but i can’t find how to remove a class schema that is not more used. Exist a procedure step by step including need to made at Mongo server?

 public void CreateConfiguration()
        {
            RealmSyncConfig = new SyncConfiguration(realmUser.Id, realmUser);
            RealmSyncConfig.EncryptionKey = deviceCryptoKey;
            RealmSyncConfig.Schema = new Type[] 
            { 
                typeof(xxxx),
                ***typeof(yyyy),*** /* this class will not exist more */
                typeof(zzz),
            };
        }

Hello Sergio,
If I understood correctly, you’re looking for a destructive schema change in a synchronized realm. Could I suggest you to take a look at the following link → https://docs.mongodb.com/realm/sync/synced-schema-overview/#destructive-changes? But in a pinch

you have two choices: terminate sync in the backend and then re-enable it from the start, or create a “partner collection” .

If this is not what you were looking for, or from the documentation there’s something that you don’t understand, don’t hesitate to come back here and ask us again.

This doc not say about remove a class schema.

I’m sorry Sergio, the link I pasted was wrong. What I wanted to link was the following: https://docs.mongodb.com/realm/sync/data-model/update-schema/#destructive-changes

Let me know if this helps.