---
title: "Remove S3 Application"
method: DELETE
path: "/api/v1/ledger/s3/apply/{reservation_id}"
tags: ["User APIs", "ledger-platform"]
---

# Remove S3 Application

`DELETE /api/v1/ledger/s3/apply/{reservation_id}`

Un-apply, freeing the tokens again. Writes no ledger transaction.

Returns the refreshed apply surface so the caller does not need a second round trip.
Returns 409 ``invoice_no_longer_editable`` once the credit line is on the draft.

## Path parameters

- `reservation_id` string, required

## Response `200`

Successful Response

- S3UpcomingInvoicesResponse — The apply surface's header plus its rows. The three header figures come straight from ``S3BalanceSummaryResponse`` and keep its names, so the apply header can never disagree with the wallet tiles. ``reserved`` is what the wireframe labels "Applied to upcoming invoices" — the UI supplies that wording; the field stays ``reserved`` because no consumption has happened yet.
  - `available` string, required
  - `reserved` string, required
  - `remaining` string, required
  - `invoices` S3UpcomingInvoiceRow[], required
    - `block_contract_id` string, uuid, required
    - `dataset_id` string, required
    - `dataset_label` string, nullable
    - `cut` string, nullable
    - `period_seq` integer, required
    - `period_start` string, date-time, nullable
    - `send_date` string, date-time, nullable
    - `days_until_send` integer, nullable
    - `invoice_amount` string, required
    - `max_applicable_tokens` string, required
    - `applied_tokens` string, required
    - `net_due` string, required
    - `reservation_id` string, uuid, nullable
    - `editable` boolean
    - `auto_apply_enabled` boolean
    - `auto_default_tokens` string
    - `recurring_override_tokens` string, nullable
    - `applied_source` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api.md) · [All operations](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/carbonarc/carbon-arc-client-admin-api/revisions/a8ca30023371/schema)
