Switch between projects

Hi @all,

I would like to set the project scope via the REST API, like I do this by the cli:

lxc project switch project-name

I looked at the Swagger documentation and couldn’t find anything.
Can anyone help me further.

Thanks Frank

Fairly certain “project state” is a client problem and not something LXD deals with. (I.E you need to tag on ?project=X for anything not in the default project).

I might be wrong here, been a while since ive dug through the code.

That is correct