I am trying to delete a role assignment at the root level in Azure using the REST API. Specifically, I want to remove the Owner role from a user with the email address "[email protected]" I have gathered the object ID of the user and the role definition ID of the Owner role. Now, I'm looking for guidance on how to construct a DELETE request URL.
Could someone provide the correct values to replace scope and roleAssignmentName in this URL to successfully delete the role assignment?
Additional Information:
The {scope} in this case is at the root level, so it should be /.
The roleAssignmentName is a GUID that uniquely identifies the role assignment.
The API version is specified as api-version=2015-07-01.
Any guidance on how to construct the DELETE request URL correctly would be greatly appreciated.
I am trying to delete a role assignment at the root level in Azure using the REST API. Specifically, I want to remove the Owner role from a user with the email address "[email protected]" I have gathered the object ID of the user and the role definition ID of the Owner role. Now, I'm looking for guidance on how to construct a DELETE request URL.




