code: def delete_volume(self, volume_name: str):
          
          # Raise an exception if we are not a manager
          if not self._manager:
              raise RuntimeError('Volumes can only be deleted '
                                 'on swarm manager nodes')
  
          # Remove volume
          self._api_client.remove_volume(volume_name)
docs: Removes/stops a docker volume.
  
          Only the manager nodes can delete a volume
  
          Args:
              volume_name (string): Name of the volume