Fix DELETE requests for -z for all endpoints, and PUT/POST for cookbooks