Skip to content

Clear the cost

DELETE
/v0/costs/{cost_id}

Authorizations

Parameters

Path Parameters

cost_id
required

A UUID newtype

string format: uuid

Unique identifier of the cost

Query Parameters

group

Controls whether cost group details should be included in API responses

Since cost groups can be large, this enum allows API endpoints to optionally exclude group details from responses to reduce payload size.

string
Allowed values: exclude include

Responses

200

A full description of a cost

A CostRecord combines all the information needed to define a cost:

  • Who owns it (bidder_id)
  • Which auths it applies to (group)
  • The utility function (data)
object
bidder_id
required

The responsible bidder’s id

string format: uuid
cost_id
required

A unique id for the cost

string format: uuid
data
One of:
null
group

The group associated to the cost. Because it is not always required, some endpoints may omit its definition.

object | null
version
required

The “last-modified-or-created” time as recorded by the system

string format: date-time

401

403

404

500