---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas"
tags: ["Quota"]
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas

`POST /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas`

Update quota for each VM family in workspace.

## Path parameters

- `location` string, required
- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Request body

- QuotaUpdateParameters — Quota update parameters.
  - `value` QuotaBaseProperties[] — The list for update quota.
    - `id` string — Specifies the resource ID.
    - `type` string — Specifies the resource type.
    - `limit` integer — The maximum permitted quota of the resource.
    - `unit` 'Count' — An enum describing the unit of quota measurement.

## Response `200`

The operation was successful.

- UpdateWorkspaceQuotasResult — The result of update workspace quota.
  - `value` UpdateWorkspaceQuotas[] — The list of workspace quota update result.
    - `id` string — Specifies the resource ID.
    - `type` string — Specifies the resource type.
    - `limit` integer — The maximum permitted quota of the resource.
    - `unit` 'Count' — An enum describing the unit of quota measurement.
    - `status` 'Undefined' | 'Success' | 'Failure' | 'InvalidQuotaBelowClusterMinimum' | 'InvalidQuotaExceedsSubscriptionLimit' | 'InvalidVMFamilyName' — Status of update workspace quota.
  - `nextLink` string — The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result.

## Other responses

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

## Changes

- **2019-09-02** (2019-06-01) `f23ddb674381` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/azure-machine-learning-workspaces/changes/subscriptions/:subscriptionId/providers/Microsoft.MachineLearningServices/locations/:location/updateQuotas/post.md)

---

[API](https://skmtc.dev/azure/apis/azure-machine-learning-workspaces.md) · [All operations](https://skmtc.dev/azure/apis/azure-machine-learning-workspaces/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/azure-machine-learning-workspaces/revisions/3c546a6ad82c/schema)
