I’m working with Rest API, to “automate” some operations with Ansible, trought URI Module and Jinja2.
I need to create a Project, and set permission to a specific user.
How can i do this with API V3? I can add user to a Project, but i can’t set the Role.. When i check trought the Web Interface, i see the user without role.
Best answer by AnishWalia20View original
@DanielePesciallo Can you try doing the below:
1) List the roles using this API:
2) And then update the project using this API:
For assigning roles to users in the project, this should work, given you know which user to add and that is already configured through directory services.
You can find more details in Rest API explorer about the above. Let me know if this works.
Unfortunately, I can’t find any reference about “project_internal”.. I can’t find it on my Rest API Explorer (i’ve Prism Central 22.214.171.124).
Can you help me? Do you have any "documentation" about this?
Really sorry but, this API is actually internal
@DanielePesciallo . We don’t have this listed in any public documentation.
@DanielePesciallo , any update. Did it work? Do you need anything else related to this?