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 |
|
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 |
environmentUuid | string | The ID of the environment where you want to set the overage. | path | required |
body | Host | The JSON body of the request. Contains the host units overage setting. | body | required |
Request body objects
The HostMonitoringOverageEnabledDto
object
Element | Type | Description | Required |
---|---|---|---|
hostUnitOverageAllowed | boolean | The overage is ( 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.
{
"hostUnitOverageAllowed": true
}
Response
Response codes
Code | Description |
---|---|
200 | Success. The overage has been set. The response doesn't have a body. |