// Retrieve the appointment from the Activities collection.
var appointment = oWebScheduleInfo1.getActivities().getItemFromKey("3522");
// Set the Recurrence attribute of the activityUpdateProps to null.
var activityUpdateProps = {Recurrence: null};
// Update the activity by passing in the updated properties.
oWebScheduleInfo1.updateActivity(activityUpdateProps, appointment, "");