/// <summary> /// Deletes a calendar. /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Settings or Settings.Write. /// /// Required permissions: (Settings.Delete). /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// key: Id /// </param> /// <param name='ifMatch'> /// If-Match header /// </param> public static void DeleteById(this ICalendars operations, long id, string ifMatch = default(string)) { operations.DeleteByIdAsync(id, ifMatch).GetAwaiter().GetResult(); }
/// <summary> /// Deletes a calendar. /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Settings or Settings.Write. /// /// Required permissions: (Settings.Delete). /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='key'> /// </param> public static void DeleteById(this ICalendars operations, long key) { operations.DeleteByIdAsync(key).GetAwaiter().GetResult(); }