Forums - C# Corner

Forum guidelines
Nilesh Patil

Nilesh Patil

  • 537
  • 2.9k
  • 27.9k

Want to Add User Privilleges on Container Using REST API

May 21 2019 2:57 AM
Hi All,
 
Want to Add User Privilleges on Container Using REST API
 
Actually my REST API executed successfully but i am not able to view permission on Azure portal.
 
This is my api
 
https://management.azure.com/roleAssignmentId?api-version=2015-07-01
 
And this is my body
 
{ "properties": { "roleDefinitionId": "/subscriptions/4004a9fd-d58e-48dc-aeb2-4a4aec58606f/providers/Microsoft.Authorization/roleDefinitions/de139f84-1756-47ae-9be6-808fbbe84772", "principalId": "d93a38bc-d029-4160-bfb0-fbda779ac214" } }
 
API works fine but not able view permission can anyone suggest me where i am actually wrong
 
Thanks in advn