Skip to main content
POST
Give notice on a compute reservation

Overview

Gives notice; the action behind morph compute cancel. The reservation ends on lastDay: the end of the term or monthly period it is in, or the end of the next month when that month is already invoiced. A month is invoiced 15 days before it starts. The nodes stay yours through that day and are wiped after it. To see the day before you commit, read noticeLastDay from Get Compute Reservation. Notice is not refused for timing, and repeating the call returns the same day. Organization keys require an organization admin.

Authorizations

Authorization
string
header
required

Morph API key, passed as Authorization: Bearer sk-.... Create keys at https://www.morphllm.com/dashboard/api-keys.

Path Parameters

id
string<uuid>
required

Identifies the reservation to end. Id of a reservation the organization owns.

Example:

"b81f2c40-7d9e-4a35-9c16-3f5a8e0d2b74"

Response

Notice recorded.

The recorded notice. Repeating the call returns the same day.

lastDay
string
required

Last day the nodes are yours, as a UTC date: the reservation’s noticeLastDay at the moment notice was given.

Example:

"2027-02-03"