Enable Azure Subscription¶
(Re-)Enables a canceled azure subscription that is connected to azure plan.
Prerequisites¶
This is only for accounts that have transfered over to Azure Plan. If Azure plan is not used for account, then look at activate subscription documentation instead:
Update subscription (For non azure plan subscriptions)
Find a customer tenant that is connected to Azure Plan
Find your azure plan id
GET https://api.crayon.com/api/v1/customertenants/{customerTenantId}/azureplan/
You need to have signed the Microsoft Customer Agreement.
Limits¶
It can take a few seconds for the azure subscription to transition to enabled after request.
Request¶
Request Syntax:
Method |
Request URI |
---|---|
POST |
https://api.crayon.com/api/v1/azureplans/{azurePlanId}/azuresubscriptions/{id}/enable/ |
Request Example:
POST $"https://api.crayon.com/api/v1/azureplans/{azurePlanId:int}/azuresubscriptions/{id:int}/enable/"
Accept: application/json
Content-Type: application/json
Authorization: Bearer < Token >
Request Body:
Empty
Response¶
If successful, this method returns the Microsoft azure subscription id in the response body.
Response Body:
{
"AzureSubscriptionId": "c7e0f1fb-bfa3-478f-9d0f-b2c687628f76"
}