code: def revoke_prefix(self, prefix):
          
          params = {
              'prefix': prefix,
          }
          api_path = '/v1/sys/leases/revoke-prefix/{prefix}'.format(prefix=prefix)
          return self._adapter.put(
              url=api_path,
              json=params,
          )
docs: Revoke all secrets (via a lease ID prefix) or tokens (via the tokens' path property) generated under a given
          prefix immediately.
  
          This requires sudo capability and access to it should be tightly controlled as it can be used to revoke very
          large numbers of secrets/tokens at once.
  
          Supported methods:
              PUT: /sys/leases/revoke-prefix/{prefix}. Produces: 204 (empty body)
  
  
          :param prefix: The prefix to revoke.
          :type prefix: str | unicode
          :return: The response of the request.
          :rtype: requests.Response