code: def _put(self, url, data={}):
          
          r = requests.put(self._api_prefix + url,
              data=json.dumps(data),
              headers=self.headers,
              auth=self.auth,
              allow_redirects=False,
          )
          return self._action(r)
docs: Wrapper around request.put() to use the API prefix. Returns a JSON response.