Importig dashboard through command line interface in Influxdb 2.0

Hi all,

Is it possible to import the JSON file of a dashboard through the command line interface in Influxdb 2.0 or is it only possible through the UI.

I haven’t tried it myself - therefore no guarantee - but it should be possible with influx apply

https://docs.influxdata.com/influxdb/v2.0/reference/cli/influx/apply/

Thank you very much! This seems promising