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