marketplace

Change one compute price

Change the rate or the descriptive fields of a compute price you have published. Send only the fields you want to change. The fields that identify the price cannot be changed, because they describe a different SKU; delete the price and register a new one instead.

patch/v1/marketplace/compute/{id}

Path parameters

idstring required

Price id

Request body

object required

Response

The changed price

architecturestring
availability_zonestring
cost_per_hournumber

On-demand-equivalent hourly USD; multiply by provider_pricing_rules.month_hours for monthly.

cpu_coresnumber
cpu_cores_cost_per_hournumber
created_atstring
currencystring

Currency the provider published this price in. Cost columns are always normalized USD.

gpu_cost_per_hournumber
gpu_countnumber
gpu_typestring
idstring
instance_typestring
native_cost_per_hournumber

cost_per_hour as published, before FX normalization. Zero when currency is USD.

operating_systemstring
period_billing_hoursnumber

Commitment term the raw price covers: 1=hourly on-demand; 8640/25920/43200=1mo/3mo/1yr buckets. cost_per_hour is already normalized to hourly.

providerstring
ram_gbnumber
ram_gb_cost_per_hournumber
raw_pricing_dataobject
regionstring
servicestring
tagsobject
updated_atstring
usage_typestring

Pricing tier token (ONDEMAND, RESERVED, SPOT_*, *_HBP, *_BYOL, Commit1Yr/3Yr). Filter to ONDEMAND for normal pricing.

Changes

Changed in 1 of the 30 revisions of this API.1