Create a new metrics account
POST/v1/account-management/metrics-accounts
Create a new metrics account
Request
- application/json
Body
required
email stringrequired
Email address of the account owner
accountName string
Name of metrics account to be created. If empty, the default name <owner_account_name>_metrics
is used.
planUts integer
Usage plan for Unique Time Series (UTS). UTS defines the number of unique time series an account is allowed to have. If usage exceeds the plan, exceeding data points will not be processed.
authorizedAccountsIds integer[]
IDs of authorized accounts
Responses
- 201
Created
- application/json
- Schema
- Example (from schema)
Schema
id integer
ID of the created metrics account
accountName string
Name of metrics account.
token string
Metrics account token
createdAt date-time
Timestamp of account creation
planUts integer
Usage plan for Unique Time Series (UTS). UTS defines the number of unique time series an account is allowed to have. If usage exceeds the plan, exceeding data points will not be processed.
authorizedAccountsIds integer[]
IDs of authorized accounts
{
"id": 0,
"accountName": "string",
"token": "string",
"createdAt": "2024-01-02T20:51:17.630Z",
"planUts": 0,
"authorizedAccountsIds": [
0
]
}
Loading...