azure.com

Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations enable you to manage role definitions and role assignments. A role definition describes the set of actions that can be performed on resources.

🔑 oauth2 10 endpoints cloud
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (9 total)

azure-sdk-for-python ✓ Official
pip install azure-sdk-for-python
azure-sdk-for-js ✓ Official
npm install azure-sdk-for-js
azure-sdk-for-node ✓ Official
npm install azure-sdk-for-node
azure-sdk-for-go ✓ Official
go get github.com/Azure/azure-sdk-for-go
azure-sdk-for-java ✓ Official
# Maven: see https://github.com/Azure/azure-sdk-for-java
dotnet add package cognitive-services-speech-sdk
azure-sdk-for-net ✓ Official
dotnet add package azure-sdk-for-net
# See https://github.com/microsoft/Azure-Kinect-Sensor-SDK
# See https://github.com/Azure/MachineLearningNotebooks
curl examples
Gets a role assignment by ID.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{roleAssignmentId}
Gets role assignments for a scope.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{scope}/providers/Microsoft.Authorization/roleAssignments
Get the specified role assignment.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
Endpoints (10 total)
GET
/{roleAssignmentId}
Gets a role assignment by ID.
GET
/{scope}/providers/Microsoft.Authorization/roleAssignments
Gets role assignments for a scope.
GET
/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
Get the specified role assignment.
GET
/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/roleAssignments
Gets all role assignments for the subscription.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/roleAssignments
Gets role assignments for a resource group.
GET
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/roleAssignments
Gets role assignments for a resource.
PUT
/{roleAssignmentId}
Creates a role assignment by ID.
PUT
/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
Creates a role assignment.
DELETE
/{roleAssignmentId}
Deletes a role assignment.
DELETE
/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
Deletes a role assignment.
At a glance
Total SDKs9
Languages8
Endpoints10
Authoauth2
Categories1