POST
/
dimensional_price_groups
curl --request POST \
  --url https://api.withorb.com/v1/dimensional_price_groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "metadata": {},
  "name": "<string>",
  "external_dimensional_price_group_id": "<string>",
  "dimensions": [
    "region",
    "instance_type"
  ],
  "billable_metric_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>"
}

Authorizations

Authorization
string
header
required

API Keys can be issued in the Orb's web application.

Body

application/json

Response

201
application/json
Created

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.