# Azure Subscription management API

> Azure Subscription management API on Apizie: 15 endpoints (The operation to cancel a subscription, The operation to rename a subscription, The operation to enable a subscription, Get the status of the pending Microsoft.Subscription API operations., …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:azure-arm-subscription`
- Category: Cloud
- Status: byok
- Source: https://learn.microsoft.com/rest/api/azure/
- Page: https://zieapi.vercel.app/api/cloud/azure-arm-subscription
- OpenAPI: https://zieapi.vercel.app/api/cloud/azure-arm-subscription/openapi.json

Azure Resource Manager API for Subscription: manage these Azure resources in your subscription with a Microsoft Entra access token.

## Endpoints

### The operation to cancel a subscription
`POST https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/subscription-cancel` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | yes | Subscription Id. |
| api-version | string | no | Version of the API to be used with the client request. Current version is 2021-10-01 |

### The operation to rename a subscription
`POST https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/subscription-rename` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | yes | Subscription Id. |
| api-version | string | no | Version of the API to be used with the client request. Current version is 2021-10-01 |
| body | object | yes | JSON request body |

### The operation to enable a subscription
`POST https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/subscription-enable` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | yes | Subscription Id. |
| api-version | string | no | Version of the API to be used with the client request. Current version is 2021-10-01 |

### Get the status of the pending Microsoft.Subscription API operations.
`GET https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/subscription-operation-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| operationId | string | yes | The operation ID, which can be found from the Location field in the generate recommendation response header. |
| api-version | string | no | Version of the API to be used with the client request. Current version is 2021-10-01 |

### Lists all of the available Microsoft.Subscription API operations.
`GET https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/operations-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | Version of the API to be used with the client request. Current version is 2021-10-01 |

### Get Alias Subscription.
`GET https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/alias-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| aliasName | string | yes | AliasName is the name for the subscription creation request. Note that this is not the same as subscription name and this doesn’t have any… |
| api-version | string | no | Version of the API to be used with the client request. Current version is 2021-10-01 |

### Create Alias Subscription.
`POST https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/alias-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| aliasName | string | yes | AliasName is the name for the subscription creation request. Note that this is not the same as subscription name and this doesn’t have any… |
| api-version | string | no | Version of the API to be used with the client request. Current version is 2021-10-01 |
| body | object | yes | JSON request body |

### Delete Alias.
`POST https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/alias-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| aliasName | string | yes | AliasName is the name for the subscription creation request. Note that this is not the same as subscription name and this doesn’t have any… |
| api-version | string | no | Version of the API to be used with the client request. Current version is 2021-10-01 |

### List Alias Subscription.
`GET https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/alias-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | Version of the API to be used with the client request. Current version is 2021-10-01 |

### Accept subscription ownership.
`POST https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/subscription-accept-ownership` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | yes | Subscription Id. |
| api-version | string | no | Version of the API to be used with the client request. Current version is 2021-10-01 |
| body | object | yes | JSON request body |

### Accept subscription ownership status.
`GET https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/subscription-accept-ownership-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | yes | Subscription Id. |
| api-version | string | no | Version of the API to be used with the client request. Current version is 2021-10-01 |

### Get the subscription tenant policy for the user's tenant.
`GET https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/subscription-policy-get-policy-for-tenant` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | Version of the API to be used with the client request. Current version is 2021-10-01 |

### Create or Update Subscription tenant policy for user's tenant.
`POST https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/subscription-policy-add-update-policy-for-tenant` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | Version of the API to be used with the client request. Current version is 2021-10-01 |
| body | object | yes | JSON request body |

### Get the subscription tenant policy for the user's tenant.
`GET https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/subscription-policy-list-policy-for-tenant` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | Version of the API to be used with the client request. Current version is 2021-10-01 |

### Get Billing Account Policy.
`GET https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/billing-account-get-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| billingAccountId | string | yes | Billing Account Id. |
| api-version | string | no | Version of the API to be used with the client request. Current version is 2021-10-01 |

## Example
```
curl "https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/subscription-cancel" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Azure Subscription management API?
Create a free Apizie key, then send POST https://zieapi.vercel.app/v1/cloud:azure-arm-subscription/subscription-cancel with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Azure Subscription management API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Azure Subscription management itself also needs your own key from azure.com.

### Can AI agents use the Azure Subscription management API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:azure-arm-subscription.

### What is the status of the Azure Subscription management API?
Needs your own provider key (bring your own key)
