/// <summary>
 /// Dissociates a robot from the given environment.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Robots or Robots.Write.
 ///
 /// Required permissions: Environments.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='key'>
 /// Given environment's Id.
 /// </param>
 /// <param name='body'>
 /// RobotId - The dissociated robot Id.
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static void RemoveRobotById(this IEnvironments operations, long key, EnvironmentsRemoveRobotParameters body = default(EnvironmentsRemoveRobotParameters), long?xUIPATHOrganizationUnitId = default(long?))
 {
     operations.RemoveRobotByIdAsync(key, body, xUIPATHOrganizationUnitId).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Dissociates a robot from the given environment.
 /// </summary>
 /// <remarks>
 /// Required permissions: Environments.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='removeRobotParameters'>
 /// RobotId - The dissociated robot Id.
 /// </param>
 public static void RemoveRobotById(this IEnvironments operations, long id, RemoveRobotParameters removeRobotParameters = default(RemoveRobotParameters))
 {
     operations.RemoveRobotByIdAsync(id, removeRobotParameters).GetAwaiter().GetResult();
 }
Exemple #3
0
 /// <summary>
 /// Dissociates a robot from the given environment.
 /// </summary>
 /// <remarks>
 /// Required permissions: Environments.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='removeRobotParameters'>
 /// RobotId - The dissociated robot Id.
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static void RemoveRobotById(this IEnvironments operations, long id, RemoveRobotParameters removeRobotParameters = default(RemoveRobotParameters), long?xUIPATHOrganizationUnitId = default(long?))
 {
     operations.RemoveRobotByIdAsync(id, removeRobotParameters, xUIPATHOrganizationUnitId).GetAwaiter().GetResult();
 }