You can remove a property from an object using destructuring in combination with the ... rest operator. Destructuring splits an object into its individual keys and you can remove those that you don’t want in the new one.
Here’s an example removing the group property from a user object:
The code snippet destructures the user into a group property and everything else called userWithoutGroup
source : https://futurestud.io/tutorials/how-to-delete-a-key-from-an-object-in-javascript-or-node-js