• Home
  • Dynatrace API
  • Account management
  • Quota management
  • PATCH host unit quotas

Quota management API - PATCH host unit quotas

Updates the environment-level host units quotas of your Dynatrace account.

The request consumes an application/json payload.

PATCH

https://api.dynatrace.com/env/v1/accounts/{accountUuid}/quotas/host-monitoring

Authentication

To execute this request, you need the Allow write access for environment resources (account-env-write) permission assigned to your token. To learn how to obtain and use it, see Authentication.

Parameters

ParameterTypeDescriptionInRequired
accountUuidstring

The ID of the required account.

You can find the UUID on the Account > Account management API page, during creation of an OAuth client.

pathrequired
bodyEnvironmentChangeListDto[]

The JSON body of the request. Contains the list of environment-level quotas to be set.

bodyrequired

Request body objects

The RequestBody object

The object doesn't provide any parameters.

The EnvironmentChangeListDto object

ElementTypeDescriptionRequired
uuidstring

The ID of the environment.

required
concurrentHostsUnitsnumber

The total amount of host units assigned to the environment.

required
hostUnitOverageAllowedboolean

The overage is (true) or is not (false) enabled for the environment.

If the overage is enabled, the environment can exceed the quota. To learn more about host units consumption, see Application and Infrastructure Monitoring in Dynatrace Documentation.

required

Request body JSON model

This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.

json
[ { "uuid": "string", "concurrentHostsUnits": 1, "hostUnitOverageAllowed": true } ]

Response

Response codes

CodeDescription
200

Success. The quota has been updated. The response doesn't have a body.