Skip to main content
POST
Relist capacity from a reservation
CLI equivalent: ornn capacity-offers relist --reservation-id <reservation-id> --node-count <count> --starts-at <time> --ends-at <time> --terms '<json>' --yes. Pass --idempotency-key to make a retry safe. Read the reservation with Get a reservation first to check relistableNodeCount and the relistable node IDs. See Relist capacity.

Authorizations

Authorization
string
header
required

Create an organization API key in Account Settings > Developer. Do not send this key to the Kubernetes API server.

Headers

Idempotency-Key
string
required

Required. A unique key of 1 to 200 bytes for this operation, such as a UUID. Retrying with the same key and the same body returns the original response instead of writing again. The key is remembered for 24 hours; reusing it with a different body returns 409 idempotency_conflict. A missing key returns 422 invalid_idempotency_key.

Required string length: 1 - 200

Path Parameters

reservationId
string<uuid>
required

A reservation your organization holds.

Body

application/json
startsAt
string<date-time>
required

Whole-second start, no earlier than the reservation's start.

nodeCount
integer
required

Whole nodes to relist, up to the reservation's relistableNodeCount.

Required range: x >= 1
terms
object[]
required
Minimum array length: 1
endsAt
string<date-time> | null

Whole-second end after startsAt, no later than the source reservation's committed expiry. Null or omission means no scheduled end and is allowed only when the source has no committed expiry.

nodeIds
string<uuid>[]

Optional. Exactly nodeCount distinct IDs from the reservation's relistableNodeIds. Omit nodeIds to let Ornn choose free assigned nodes.

Response

Listing created and available.

listing
object
required

A capacity listing's hardware, size, and availability. Read prices from its terms.

terms
object[]
required