示例#1
0
        public async Task Delete(string projectKey, string repositorySlug)
        {
            string requestUrl = UrlBuilder.FormatRestApiUrl(ONE_REPOSITORY, null, projectKey, repositorySlug);

            await _httpWorker.DeleteAsync(requestUrl).ConfigureAwait(false);
        }
示例#2
0
        public async Task DeletePermissions(string projectKey, string repositorySlug, int permissionsId)
        {
            string requestUrl = UrlBuilder.FormatRestApiUrl(BRANCH_DELETE_PERMISSIONS, null, projectKey, repositorySlug, permissionsId.ToString());

            await _httpWorker.DeleteAsync(requestUrl).ConfigureAwait(false);
        }
示例#3
0
        public async Task Delete(string projectKey)
        {
            string requestUrl = UrlBuilder.FormatRestApiUrl(ONE_PROJECT, null, projectKey);

            await _httpWorker.DeleteAsync(requestUrl).ConfigureAwait(false);
        }
示例#4
0
        public async Task Delete(string name)
        {
            string requestUrl = UrlBuilder.FormatRestApiUrl(SINGLE_GROUP, null, name);

            await _httpWorker.DeleteAsync(requestUrl).ConfigureAwait(false);
        }