code: def cancel_root_generation(self):
          
          api_path = '/v1/sys/generate-root/attempt'
          response = self._adapter.delete(
              url=api_path,
          )
          return response
docs: Cancel any in-progress root generation attempt.
  
          This clears any progress made. This must be called to change the OTP or PGP key being used.
  
          Supported methods:
              DELETE: /sys/generate-root/attempt. Produces: 204 (empty body)
  
          :return: The response of the request.
          :rtype: request.Response