
Can this value be modified programatically like from the cli or from appwrite.json?

FYI everything the Console does is done via some API so you can inspect the network requests to see what the API is.
That said, this API is not totally documented, so it could change.
Why do you need to update it programatically anyways?

Thanks, it should be sufficient for now. We need this because we need to provide our clients the posibility to create their own project and customize it.

Why do you want each client having a project?

Each client has its own users

I don't think it will be a good idea: how are you going to manage lots of projects you're not owning?

we are still working on this, the plan is to have a database with all these clients with all their info and use the cli to manage them

@Steven @D5 I see that the api to change the user session limit is like this http://localhost/v1/projects/6552149569ccc0db14a5/auth/max-sessions, but how to authorize the request? I managed with the header 'Cookie':'a_session_console_legacy=...', taken from the browser, but that is not feasable

What do you mean not feasible?

We need to automate the process somehow

Why not doing all of this with only 1 account and a project?

Sorry I still don't understand the problem

We need a way to setup a project programatically for each individual client. When the project is created we need to set the users max session limit to 1 and we can use the api as you suggested but the call to the api needs to authorized and it needs to be automatic, not by manually taking the 'Cookie':'a_session_console_legacy=...' header from a browser session.

You can create a script that logs in as the console user and does whatever. or you can use the Appwrite CLI.
Everything done in the Console is done via some REST API call which you can do programatically
Recommended threads
- 1.7.0 Self Hosted Upgrade
Hi, I've tried a fresh install on 1.7.0 and I've also done a fresh install on 1.6.2. 1.6.2 is working fine fresh, update to 1.7.0 and migrate fails Fresh inst...
- Functions not work on Server only Localh...
Hi, I successfully upgraded from 1.4 to 1.7, but I'm having a problem. The functions no longer work with the settings I had. I assume some changes were made. It...
- Console Login after upgrade
Hi, running a small instance self hosted, upgraded from 1.6.0 to 1.74 this morning before spotting the migration guide... When trying to login to the console n...
