Deletes a volume. All Volume data is irreversibly destroyed. The Volume must not be attached to a Server and it must not have delete protection enabled.
HetznerCloudClient hetznerCloudClient =newHetznerCloudClient("ApiKey");// GetVolume volume =awaithetznerCloudClient.Volume.Get(100051904);// You can delete it by passing the Volume as a parameterawaithetznerCloudClient.Volume.Delete(volume);// You can also delete it by passing the Volume ID as a parameter.awaithetznerCloudClient.Volume.Delete(100051904);