Deletion from mobile should not be sent to server

I want to delete files from mobile and not want them to be deleted from couchbase server. basically i want to delete 3 day old files that are already synced to server , and deletion should not be sent to server , that means i want the data to be present on server

The Purge After Push pattern is commonly used for this use case. Details on this pattern are included in this blog: