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 19 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 provider operations metadata for all resource providers.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers/Microsoft.Authorization/providerOperations
Gets role assignments for a scope.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /{scope}/providers/Microsoft.Authorization/roleAssignments
Endpoints (19 total)
GET
/{roleAssignmentId}
Gets a role assignment by ID.
GET
/providers/Microsoft.Authorization/providerOperations
Gets provider operations metadata for all resource providers.
GET
/{scope}/providers/Microsoft.Authorization/roleAssignments
Gets role assignments for a scope.
GET
/{scope}/providers/Microsoft.Authorization/roleDefinitions
Get all role definitions that are applicable at scope and above.
GET
/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
Get role definition by name (GUID).
GET
/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
Get the specified role assignment.
GET
/providers/Microsoft.Authorization/providerOperations/{resourceProviderNamespace}
Gets provider operations metadata for the specified resource provider.
GET
/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/roleAssignments
Gets all role assignments for the subscription.
GET
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Authorization/permissions
Gets all permissions the caller has for a resource group.
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/permissions
Gets all permissions the caller has for a resource.
GET
/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/roleAssignments
Gets role assignments for a resource.
At a glance
Total SDKs9
Languages8
Endpoints19
Authoauth2
Categories1