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

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response 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}