Using azure-sdk-for-node with azure.com

JavaScript integration

✓ Official SDK
Install
npm install azure-sdk-for-node
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}
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-node
JavaScript
API
azure.com
azure.com:authorization-authorization-RACalls
At a glance
Language JavaScript
Endpoints10
✓ Official