[docs] Add code examples for PUT and DELETE routes