To add user members to a cluster

Hi team,

I’m looking for a way using APIs to add multiple users to a cluster but could not find any API’s in docs for the same. Can someone help with this or some other way to automate the process of adding users to clusters without having to do through UI.
Thanks in advance.

For any kind of automation, we recommend using Terraform. Terraform Registry

Yes, but using terraform as well not sure if there’s any module to add mulitple users/roles to clusters. If there’s one, could not find. Please could you help me on that…