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