---
title: "PUT /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default"
method: PUT
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default"
tags: ["Policies"]
---

# PUT /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default

`PUT /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default`

Updates the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

## Path parameters

- `billingAccountName` string, required
- `billingProfileName` string, required

## Query parameters

- `api-version` string, required

## Request body

- Policy — The Resource model definition.
  - `id` string — Resource Id.
  - `name` string — Resource name.
  - `type` string — Resource type.

## Response `200`

OK. The request has succeeded.

- Policy — The Resource model definition.
  - `id` string — Resource Id.
  - `name` string — Resource name.
  - `type` string — Resource type.

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.net/azure/apis/billingmanagementclient.md) · [All operations](https://skmtc.net/azure/apis/billingmanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/billingmanagementclient/revisions/481e7355ac16/schema)
