api.InstancePutAllProjects?

A standard api.InstancePut cannot see projects of other users. This means a connection of a user in incus-admin cannot see instances of other less privileged users.

AFAIU I can do this with the CLI, e.g. create devices and attach them to instances of projects from other users: incus config device add --project <...>

See prior art for read operations: incus package - github.com/lxc/incus/v6/client - Go Packages

Is this a missing API surface?

?project=foo in your URL

We don’t have anything other than the API so anything that incus does is done through the REST API. You can always pass --debug to see the API calls being made.

1 Like