curl --request PUT \
--url https://api.withorb.com/v1/dimensional_price_groups/{dimensional_price_group_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"metadata": {},
"external_dimensional_price_group_id": "<string>"
}'
{
"metadata": {},
"id": "<string>",
"name": "<string>",
"external_dimensional_price_group_id": "my_dimensional_price_group_id",
"dimensions": [
"region",
"instance_type"
],
"billable_metric_id": "<string>"
}
This endpoint can be used to update the external_dimensional_price_group_id
and metadata
of an existing
dimensional price group. Other fields on a dimensional price group are currently immutable.
curl --request PUT \
--url https://api.withorb.com/v1/dimensional_price_groups/{dimensional_price_group_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"metadata": {},
"external_dimensional_price_group_id": "<string>"
}'
{
"metadata": {},
"id": "<string>",
"name": "<string>",
"external_dimensional_price_group_id": "my_dimensional_price_group_id",
"dimensions": [
"region",
"instance_type"
],
"billable_metric_id": "<string>"
}
API Keys can be issued in the Orb's web application.
OK
A dimensional price group is used to partition the result of a billable metric by a set of dimensions. Prices in a price group must specify the parition used to derive their usage.
Was this page helpful?