code: def list_leases(self, prefix):
          
          api_path = '/v1/sys/leases/lookup/{prefix}'.format(prefix=prefix)
          response = self._adapter.list(
              url=api_path,
          )
          return response.json()
docs: Retrieve a list of lease ids.
  
          Supported methods:
              LIST: /sys/leases/lookup/{prefix}. Produces: 200 application/json
  
          :param prefix: Lease prefix to filter list by.
          :type prefix: str | unicode
          :return: The JSON response of the request.
          :rtype: dict