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 |
|
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
Parameter | Type | Description | In | Required |
---|---|---|---|---|
accountUuid | string | The ID of the required account. You can find the UUID on the Account > Account management API page, during creation of an OAuth client. | path | required |
body | Environment | The JSON body of the request. Contains the list of environment-level quotas to be set. | body | required |
Request body objects
The RequestBody
object
The object doesn't provide any parameters.
The EnvironmentChangeListDto
object
Element | Type | Description | Required |
---|---|---|---|
uuid | string | The ID of the environment. | required |
concurrentHostsUnits | number | The total amount of host units assigned to the environment. | required |
hostUnitOverageAllowed | boolean | The overage is ( 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.
[
{
"uuid": "string",
"concurrentHostsUnits": 1,
"hostUnitOverageAllowed": true
}
]
Response
Response codes
Code | Description |
---|---|
200 | Success. The quota has been updated. The response doesn't have a body. |