---
# @generated by sylphx-gen 0.1.0 from contracts@8a9fca9773aec38ab008501562caa0e2762fc3d40938f82c8ce513c03d8b8e7d. Do not edit.
title: "Delete a revenue source"
description: "`money.revenue_sources.delete` (DELETE /v1/{name}): Deletes a revenue source and the facts it reported."
type: reference
product: payments
summary: "Deletes a revenue source and the facts it reported."
updated: 2026-09-28
nav: false
---

Deletes a revenue source and the facts it reported. The `money` source cannot be deleted; pause it instead.

- **Path** `DELETE https://api.sylphx.com/v1/orgs/acme/revenue_sources/revenue-source`
- **Scope** `revenue:write`
- **Effect** `destructive` — a successful call removes data; the CLI asks before it runs.
- **Collection** [revenue_sources](/docs/api/revenue_sources)
- **Query** `etag`, `validate_only`

## Request

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | The source to delete, with the facts it reported. The `money` source cannot be deleted (pause it instead). Required. |
| `etag` | `string` | The current etag; when set, the delete happens only if it matches. |
| `validate_only` | `bool` | Validate only; delete nothing. |

## Response

The call answers with an empty object.

## Errors

- [`UNAUTHENTICATED`](/docs/api/errors/UNAUTHENTICATED) — No valid key or token was presented.
- [`PERMISSION_DENIED`](/docs/api/errors/PERMISSION_DENIED) — The key lacks the method's permission.
- [`RESOURCE_NOT_FOUND`](/docs/api/errors/RESOURCE_NOT_FOUND) — The named Resource does not exist or is not visible.
- [`INVALID_STATE`](/docs/api/errors/INVALID_STATE) — The Resource is in a state that forbids the call.
- [`ETAG_MISMATCH`](/docs/api/errors/ETAG_MISMATCH) — The etag sent does not match the Resource's current etag.
- [`IDEMPOTENCY_KEY_REUSED`](/docs/api/errors/IDEMPOTENCY_KEY_REUSED) — An Idempotency-Key was reused with another body.
- [`IDEMPOTENCY_IN_PROGRESS`](/docs/api/errors/IDEMPOTENCY_IN_PROGRESS) — The first call with this Idempotency-Key is still running.

Every error arrives in the body [Errors](/docs/platform/errors) describes.

## Examples

**cURL**

```curl
curl -X DELETE "https://api.sylphx.com/v1/orgs/acme/revenue_sources/revenue-source" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"
```

**TypeScript**

```ts
await sylphx.money.revenueSources.delete({ name: 'orgs/acme/revenue_sources/revenue-source' })
```

**Rust**

```rust
let mut req = sylphx::money::DeleteRevenueSourceRequest::default();
req.name = "orgs/acme/revenue_sources/revenue-source".to_string();
sx.money().revenue_sources().delete(req).await?;
```

**CLI**

```bash
sylphx money revenue-sources delete orgs/acme/revenue_sources/revenue-source --yes
```

**MCP**

```json
{ "method_id": "money.revenue_sources.delete", "args": {"name":"orgs/acme/revenue_sources/revenue-source"} }
```
