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

C# integration

✓ Official SDK
Install
dotnet add package azure-sdk-for-net
The operation to cancel a subscription
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/providers/Microsoft.Subscription/cancel
The operation to enable a subscription
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/providers/Microsoft.Subscription/enable
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-net
C#
API
azure.com
azure.com:subscription-subscriptions
At a glance
Language C#
Endpoints3
✓ Official