Setting Table and Field level permissions through API

Hi,

I want to use the table and field permissions, but need to apply it to quite a few tables.
specific we want to make them read-only. ie no create or delete rights to anyone and no edit rights for any field.

But as far as I can see there is no API available for this. is this correct?

@Bucky Welcome to NocoDB Community!

Table & Field permissions currently can’t be configured using APIs. I have created a feature request here to follow up on this.

@Bucky : curious what is the usecase for managing permission via APIs. Is this like a one time thing ? or you plan to build an application layer on top of NocoDB ?

To be honest, the main reason is that the use interface has no efficient method to lock down a table, ie you need to set each field to non-editable plus the create and delete.
I got a number of tables which are either archived or should at least not be changed without proper process, ie reference tables, I am talking around 20 tables.
Hence why I wanted to use the API to do this for me.
because I will also want to “unlock” the tables if required.