Skip to main content
POST
Cancel a dedicated endpoint

Overview

Cancels an endpoint; the action behind morph dedicated stop. Before activation, it takes effect immediately and the endpoint moves to refunding. A ready or suspended endpoint keeps serving and billing until cancelEffectiveAt, then moves to canceled. Repeating the call returns the same date. 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 endpoint to cancel. Id of an endpoint the key owns.

Example:

"7f3c9a12-4b8e-4d21-9c6a-2e5f8b1d0a47"

Response

Cancellation scheduled.

The scheduled cancellation. Repeating the call returns the same date.

cancelEffectiveAt
string<date-time>
required

When service ends. Now for an endpoint that was not yet ready (it moves to refunding); the contractual end date for a ready or suspended endpoint.

Example:

"2026-12-30T09:14:00.000Z"