AgentConnect
Computers

Set managed computer quotas

Replaces the organization’s quota override: any subset of the quotas, null for unlimited; override: null returns the organization to the deployment’s defaults. Only a deployment administrator may change it; one who is not a member uses PUT /admin/orgs/{orgId}/computers/quotas. Existing desktops are not stopped: a lower limit refuses the next allocation, wake or viewer, and a shorter screenshot retention applies to screenshots already stored.

PUT
/v1/orgs/{orgId}/computers/quotas

授权

bearerAuth
授权Bearer <token>

位置: header

路径参数

orgId*string

请求主体

application/json

TypeScript 定义

在 TypeScript 中使用 request body 类型。

响应主体

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/orgs/string/computers/quotas" \  -H "Content-Type: application/json" \  -d '{    "override": {}  }'
{  "defaults": {    "runningDesktops": 0,    "desktops": 0,    "storageGib": 0,    "monthlyDesktopHours": 0,    "modes": {      "ephemeral": {        "runningDesktops": 0,        "desktops": 0      },      "per-agent": {        "runningDesktops": 0,        "desktops": 0      },      "manual": {        "runningDesktops": 0,        "desktops": 0      }    },    "viewers": 0,    "viewersPerComputer": 0,    "monthlyViewerGib": 0,    "screenshotStorageGib": 0,    "screenshotRetentionDays": 0  },  "override": {    "runningDesktops": 0,    "desktops": 0,    "storageGib": 0,    "monthlyDesktopHours": 0,    "modes": {      "ephemeral": {        "runningDesktops": 0,        "desktops": 0      },      "per-agent": {        "runningDesktops": 0,        "desktops": 0      },      "manual": {        "runningDesktops": 0,        "desktops": 0      }    },    "viewers": 0,    "viewersPerComputer": 0,    "monthlyViewerGib": 0,    "screenshotStorageGib": 0,    "screenshotRetentionDays": 0  },  "limits": {    "runningDesktops": 0,    "desktops": 0,    "storageGib": 0,    "monthlyDesktopHours": 0,    "modes": {      "ephemeral": {        "runningDesktops": 0,        "desktops": 0      },      "per-agent": {        "runningDesktops": 0,        "desktops": 0      },      "manual": {        "runningDesktops": 0,        "desktops": 0      }    },    "viewers": 0,    "viewersPerComputer": 0,    "monthlyViewerGib": 0,    "screenshotStorageGib": 0,    "screenshotRetentionDays": 0  },  "used": {    "runningDesktops": -9007199254740991,    "desktops": -9007199254740991,    "storageGib": 0,    "monthlyDesktopHours": 0,    "modes": {      "property1": {        "runningDesktops": -9007199254740991,        "desktops": -9007199254740991      },      "property2": {        "runningDesktops": -9007199254740991,        "desktops": -9007199254740991      }    },    "viewers": -9007199254740991,    "monthlyViewerGib": 0,    "screenshotStorageGib": 0  },  "volumeGib": 0,  "canEdit": true}