Open gittestorganization1 opened 1 year ago
Please refer the document below for more details. https://developercommunity.visualstudio.com/t/Remove-Role-assignment-REST-API-doesnt-/10240278#T-ND10251559
@wnjenkin Do you have any update on this?
@nechvatalp Can you please take a look into this?
Created an work item in ADO for the appropriate team to look at it.
The REST API given below needs scopeID, but document, doesn’t provide where this can be found or how this can be found. It is good to have more detailed explanation about these things.
There’s no way to create document bug, hence posting it on Developer Community. https://learn.microsoft.com/en-us/rest/api/azure/devops/securityroles/roleassignments/remove-role-assignment?view=azure-devops-rest-7.0
DELETE https://dev.azure.com/{organization}/_apis/securityroles/scopes/{scopeId}/roleassignments/resources/{resourceId}/{identityId}?api-version=7.0-preview.1
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.