
Can someone show me how to pass permission parameter for teams and role in command line. I can find it nowhere in the documentation. I tried this "appwrite databases createCollection --databaseId 6510add9771bcf260b40 --collectionId "unique()" --name test3 --permissions 'create("any")' --permissions 'create("team("651b3769cb0eae4aff5b")' " but it is not working. An example with role also will be nice. Thanks in advance.

Try this instead
--permissions 'create("any")' 'create("team:651b3769cb0eae4aff5b")'

I got this from here https://appwrite.io/docs/tooling/command-line/commands#create-document

thanks a lot

[solved] Permissions with appwrite cli

[SOLVED] Permissions with appwrite cli
Recommended threads
- Help on importing data - error Unknown a...
Hey There! I want to create a local environment on my new computer, i wish to get the information i have on my staging appwrite cloud server. When running mig...
- How to get database file, like JSON or D...
Hi Appwrite team, I want to get database file to share database to another, btw, I can not found any thing like Download button inside Backup tabs. What can I d...
- appwrite cli types
I used the appwrite cli types comand for Dart and it worked well but there was an error regarding enums. As you can see in the image below, it used firstOrNull(...
