/// <summary> /// Deletes a version in an issue tracker. Keep in mind that the version can be in use on existing issues. /// To delete a version, public and private issue trackers require the caller to authenticate with an account that has appropriate authorisation. /// </summary> /// <param name="versionId">The version identifier.</param> /// <returns>The response from the BitBucket API.</returns> public Version DeleteVersion(int?versionId) { return(_repositoriesEndPoint.DeleteVersion(versionId)); }