예제 #1
0
        public async Task RevokeLicenseFromUserAsync(string licensedUserId, CancellationToken ct = default)
        {
            ParameterValidator.ValidateNotNull(licensedUserId, nameof(licensedUserId));

            var url = $"licensedusers/{licensedUserId}";
            await _baseClient.DeleteAsync(url, null, ct);
        }
예제 #2
0
        public async Task DeleteJobAsync(string jobId, CancellationToken ct = default)
        {
            ParameterValidator.ValidateNotNull(jobId, nameof(jobId));

            var url = $"jobs/{jobId}";
            await _baseClient.DeleteAsync(url, null, ct);
        }
 public async Task RemoveBackupRepositoryAsync(string repositoryId, CancellationToken ct = default)
 {
     ParameterValidator.ValidateNotNull(repositoryId, nameof(repositoryId));
     var url = $"backuprepositories/{repositoryId}";
     await _baseClient.DeleteAsync(url, null, ct);
 }