added delete and put methods to APIConsumer