code: def cli(env, volume_id, snapshot_id):
      
      block_manager = SoftLayer.BlockStorageManager(env.client)
      success = block_manager.restore_from_snapshot(volume_id, snapshot_id)
  
      if success:
          click.echo('Block volume %s is being restored using snapshot %s'
                     % (volume_id, snapshot_id))
docs: Restore block volume using a given snapshot