Userbase

Docs : SDK : deleteItem

deleteItem lets you delete an item from a user's database. This API will return a promise that gets resolved once the item has been durably deleted from the database.

    
      userbase.deleteItem({
        databaseName: 'example-database-name',
        itemId: '0001' 
      }).then(() => {
        // item deleted
      }).catch((e) => console.error(e))
    
  

Parameters

Advanced Parameters

Errors