Home > front end >  Can I add rules to firestore using cloud firestore REST API?
Can I add rules to firestore using cloud firestore REST API?

Time:11-10

I have 40 collections that needs to be created for d/f clients, this is so tedious to do it manually therefore I used cloud firesotre api to add the collections and I want to be able to add the rules programmtically too using REST API.

I don't know how I should be adding the rules using REST API, I have searched the google doc but haven't found any.

Is there an API that will enable me add the firestore rules programmatically using cloud firestore REST API?

CodePudding user response:

There is a REST API for managing the security rules in a Firebase project. This allows you to create rule sets, which should match your use-case.

  • Related