Permission API is only suitable when using MxId as account provider. Which I doubt you have implemented.
What do you want to achieve with “change Security settings for the User roles” ?
If you want to change the permissions/access rights you have modeled in studio Pro, then the short answer is No you can’t
Hi
What is the usecase for changing the Security settings for the User roles from UI ?
Which security settings you want to change.
The PermissionAPI is about to change Mendix Developer Platform APP Users setting. (Scrum Master,Busseines Engineer etc )