• Home
  • Dynatrace API
  • Account management
  • Quota management
  • PUT overage of host unit quota

Quota management API - PUT overage of host unit quota

Updates the overage allowance for host units quotas.

The request consumes an application/json payload.

PUT

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

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
environmentUuidstring

The ID of the environment where you want to set the overage.

pathrequired
bodyHostMonitoringOverageEnabledDto

The JSON body of the request. Contains the host units overage setting.

bodyrequired

Request body objects

The HostMonitoringOverageEnabledDto object

ElementTypeDescriptionRequired
hostUnitOverageAllowedboolean

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

If the overage is enabled, the environment can exceed the quota.

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
{ "hostUnitOverageAllowed": true }

Response

Response codes

CodeDescription
200

Success. The overage has been set. The response doesn't have a body.