/// <summary>
 /// Remove user assignment from a folder.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Folders or Folders.Write.
 ///
 /// Required permissions: (Units.Edit or SubFolders.Edit) and (Machines.View).
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='removeMachinesFromFolderParameters'>
 /// The Ids of the machines to remove from the folder
 /// </param>
 public static void RemoveMachinesFromFolderById(this IFolders operations, long id, RemoveMachinesFromFolderParameters removeMachinesFromFolderParameters)
 {
     operations.RemoveMachinesFromFolderByIdAsync(id, removeMachinesFromFolderParameters).GetAwaiter().GetResult();
 }
Exemple #2
0
 /// <summary>
 /// Remove user assignment from a folder.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Folders or Folders.Write.
 ///
 /// Required permissions: (Units.Edit or SubFolders.Edit) and (Machines.View).
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='key'>
 /// </param>
 /// <param name='body'>
 /// The Ids of the machines to remove from the folder
 /// </param>
 public static void RemoveMachinesFromFolderById(this IFolders operations, long key, FoldersRemoveMachinesFromFolderParameters body = default(FoldersRemoveMachinesFromFolderParameters))
 {
     operations.RemoveMachinesFromFolderByIdAsync(key, body).GetAwaiter().GetResult();
 }