コード例 #1
0
        /// <summary>
        /// Deletes the specified group
        /// <param name="group_slug">The group's slug.</param>
        /// <returns></returns>
        public Group DeleteGroup(string group_slug)
        {
            var overrideUrl = _baseUrl + group_slug;
            var group       = new Group()
            {
                slug = group_slug
            };

            return(_sharpBucketV1.Delete <Group>(group, overrideUrl));
        }
コード例 #2
0
        /// <summary>
        /// Deletes the key specified by the key_id value. This call requires authentication.
        /// </summary>
        /// <param name="key">The key identifier assigned by Bitbucket. Use the GET call to obtain this value.</param>
        /// <returns></returns>
        public SSH DeleteDeployKey(SSH key)
        {
            var overrideUrl = _baserUrl + "deploy-keys/" + key.pk + "/";

            return(_sharpBucketV1.Delete(key, overrideUrl));
        }
コード例 #3
0
        /// <summary>
        /// Deletes the specified group
        /// </summary>
        /// <param name="group_slug">The group's slug.</param>
        /// <returns></returns>
        public Group DeleteGroup(string group_slug)
        {
            var overrideUrl = _baseUrl + group_slug;

            return(_sharpBucketV1.Delete <Group>(overrideUrl));
        }