Skip to main content
POST
/
subscriptions
/
{id}
/
terminate
Terminate a subscription
curl --request POST \
  --url https://api.nomos.energy/subscriptions/{id}/terminate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "ORDINARY",
  "requested_end_at": "2026-12-31T00:00:00+01:00"
}
'
{
  "intended_end_at": "2026-12-31T00:00:00+01:00"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Example:

"sub_ddltpi1cxql5djzfq058woid"

Body

application/json

The termination request

reason
enum<string>
required
Available options:
ORDINARY
requested_end_at
string<date-time>

Optional exclusive end timestamp. Must be exactly midnight Europe/Berlin (any zone offset accepted as long as the instant is 00:00 Berlin). From that moment the customer is no longer supplied; the last day of supply is the day before. When omitted, the plan's cancellation period applies.

Example:

"2026-12-31T00:00:00+01:00"

Response

The subscription's termination details

reason
enum<string>
required
Available options:
ORDINARY,
MOVE_OUT,
WITHDRAWAL
intended_end_at
string<date-time>
required

Customer-provided or system-calculated exclusive end timestamp at midnight Europe/Berlin. From this instant the customer is no longer supplied.

Example:

"2026-12-31T00:00:00+01:00"