code: def cancel_rekey(self, recovery_key=False):
          
          api_path = '/v1/sys/rekey/init'
          if recovery_key:
              api_path = '/v1/sys/rekey-recovery-key/init'
          response = self._adapter.delete(
              url=api_path,
          )
          return response
docs: Cancel any in-progress rekey.
  
          This clears the rekey settings as well as any progress made. This must be called to change the parameters of the
          rekey.
  
          Note: Verification is still a part of a rekey. If rekeying is canceled during the verification flow, the current
          unseal keys remain valid.
  
          Supported methods:
              DELETE: /sys/rekey/init. Produces: 204 (empty body)
              DELETE: /sys/rekey-recovery-key/init. Produces: 204 (empty body)
  
          :param recovery_key: If true, send requests to "rekey-recovery-key" instead of "rekey" api path.
          :type recovery_key: bool
          :return: The response of the request.
          :rtype: requests.Response