---
title: "Remove the org's Lightning receiver"
method: DELETE
path: "/orgs/v1/{org_id}/lightning-receiver"
tags: ["Org"]
---

# Remove the org's Lightning receiver

`DELETE /orgs/v1/{org_id}/lightning-receiver`

## Request

- Base URL: `https://api.run402.com`
- URL: `https://api.run402.com/orgs/v1/{org_id}/lightning-receiver`
- Auth: one of:
  - HTTP bearer
  - API key in header `SIGN-IN-WITH-X`
  - API key in header `x-admin-key`

Admin/owner-only, with step-up or fresh SIWX. Audited. The response warns about every active release that still prices a route on a Lightning network: those routes omit the Lightning option, and a Lightning-only route answers 503 LIGHTNING_RECEIVER_UNAVAILABLE until a receiver is registered again.

## Path parameters

- `org_id` string, uuid, required

## Response `200`

Receiver removed.

- LightningReceiverRemoved
  - `status` 'removed', required
  - `org_id` string, uuid, required
  - `receiver_id` string, uuid, required
  - `node_pubkey` string, required
  - `network` string, required
  - `warnings` object[], required: One entry per active release that still prices a route on a Lightning network.
    - `code` 'LIGHTNING_ROUTES_STILL_ACTIVE', required
    - `project_id` string, required
    - `release_id` string, required
    - `route_patterns` string[], required
    - `message` string, required

## Other responses

- `403`: Caller is not an org admin/owner or lacks fresh auth.
- `404`: LIGHTNING_RECEIVER_NOT_FOUND: this organization has no receiver.

---

[API](https://skmtc.dev/run402/apis/run402-api.md) · [All operations](https://skmtc.dev/run402/apis/run402-api/llms.txt) · [OpenAPI document](https://skmtc.dev/run402/apis/run402-api/revisions/893607557f50?raw)
