Update a tracing account
PUT/v1/account-management/consumption/tracing-accounts/:id
Updates a tracing account of a Consumption owner account.
This replaces the account's settings, so send every field - including maxDailyGB, which is the account's soft limit.
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 of the tracing account.
- application/json
Body
required
Email address of an active user of the owner account.
Name of the tracing account.
IDs of accounts that can access the tracing account's data. Can be empty.
The maximum volume of data, in GB, that the tracing account can index per calendar day. This is the account's soft limit. The account is suspended once its daily usage exceeds this value, so 0 suspends it as soon as it receives any data.
Responses
- 200
- 400
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
ID of the tracing account.
Name of the tracing account.
The maximum volume of data, in GB, that the tracing account can index per calendar day. This is the account's soft limit - the same value the soft limit endpoints read and write. Null if not set.
Number of days that trace data is retained.
Account creation time, in epoch seconds.
authorizedAccounts object[]
Accounts that can access the tracing account's data.
Possible values: [MONTHLY_SPANS_QUOTA_EXCEEDED, DAILY_INDEXING_THRESHOLD_EXCEEDED, DAILY_CONSUMPTION_USAGE_EXCEEDED, NOT_SUSPENDED]
Whether the account is suspended, and why.
{
"accountId": 0,
"accountName": "string",
"maxDailyGB": 0,
"retention": 0,
"createdAt": 0,
"authorizedAccounts": [
{
"accountId": 0,
"accountName": "string"
}
],
"suspensionState": "MONTHLY_SPANS_QUOTA_EXCEEDED"
}
The account is not a Consumption account, id is not a tracing account, or the request is invalid or exceeds the account's tracing budget.
Only the owner account can manage tracing accounts.
Tracing account not found.