code: def create_payload(self):
          
          payload = super(LifecycleEnvironment, self).create_payload()
          if (_get_version(self._server_config) < Version('6.1') and
                  'prior_id' in payload):
              payload['prior'] = payload.pop('prior_id')
          return payload
docs: Rename the payload key "prior_id" to "prior".
  
          For more information, see `Bugzilla #1238757
          <https://bugzilla.redhat.com/show_bug.cgi?id=1238757>`_.