Update a tracing account soft limit
PUT/v1/account-management/consumption/tracing-accounts/:id/soft-limit
Sets the soft limit of a Consumption tracing account.
The soft limit caps the daily volume, in GB, that the tracing account is allowed to index.
tracingAccountId in the request body must match the id in the path, otherwise the request returns 400.
Available for Consumption accounts only. If the account is not a Consumption account, the request returns 400.
Please ensure to change the region in the URL to match your account's region.
Request
Path Parameters
id integerrequired
ID of the tracing account.
- application/json
Body
required
tracingAccountId integerrequired
ID of the tracing account. Must match the id in the path.
softLimitGBConsumption floatrequired
The account's soft limit, in GB. Must not be negative.
Responses
- 200
- 400
OK
- application/json
- Schema
- Example (from schema)
Schema
accountId integer
ID of the tracing account.
softLimitGBConsumption float
The account's soft limit, in GB.
{
"accountId": 0,
"softLimitGB": 0
}
The account is not a Consumption account, tracingAccountId does not match the path id, or softLimitGB is negative.
Loading...