internal Repository DeleteRepository(string accountName, string repository)
        {
            var overrideUrl = GetRepositoryUrl(accountName, repository, null);

            return(_sharpBucketV2.Delete(new Repository(), overrideUrl));
        }
Example #2
0
 /// <summary>
 /// Delete the project located at this resource location.
 /// https://developer.atlassian.com/bitbucket/api/2/reference/resource/teams/%7Busername%7D/projects/%7Bproject_key%7D#delete
 /// </summary>
 public void DeleteProject()
 {
     SharpBucketV2.Delete(ProjectUrl);
 }