delete

abstract fun delete(token: String, userId: String, itemId: String): String

Method to delete an item

Return

the response message as String

Parameters

userId

The identifier of the user

token

The token of the user

itemId

The identifier of the item to delete