On the other hand, I can’t figure out how to do it through the REST API. I’m assuming that, if possible, it involves more steps, just as incus storage volume export seems to translate to three requests:
POST /1.0/storage-pools/{poolName}/volumes/{type}/{volumeName}/backups
GET /1.0/storage-pools/{poolName}/volumes/{type}/{volumeName}/backups/{backupName}/export
DELETE /1.0/storage-pools/{poolName}/volumes/{type}/{volumeName}/backups/{backupName}
Does anyone know how to do this and/or if it is possible to do it via REST API?