/// <summary>
 /// Deletes the execution media for the given job key.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Monitoring or
 /// Monitoring.Write.
 ///
 /// Required permissions: ExecutionMedia.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteMediaByJobIdAsync(this IExecutionMedia operations, ExecutionMediaDeleteMediaByJobIdParameters body = default(ExecutionMediaDeleteMediaByJobIdParameters), long?xUIPATHOrganizationUnitId = default(long?), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteMediaByJobIdWithHttpMessagesAsync(body, xUIPATHOrganizationUnitId, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Deletes the execution media for the given job key.
 /// </summary>
 /// <remarks>
 /// Required permissions: ExecutionMedia.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='deleteMediaByJobParameters'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteMediaByJobIdAsync(this IExecutionMedia operations, DeleteMediaByJobParameters deleteMediaByJobParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     (await operations.DeleteMediaByJobIdWithHttpMessagesAsync(deleteMediaByJobParameters, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }