---
title: "Delete a partner"
method: DELETE
path: "/v1/partners/{id}"
tags: ["Partners"]
---

# Delete a partner

`DELETE /v1/partners/{id}`

## Request

- Base URL: `https://api.affiliaterail.com`
- URL: `https://api.affiliaterail.com/v1/partners/{id}`
- Auth: HTTP bearer

Removes the partner and everything attributed to them: links, referrals, customers, commissions, payouts. Not reversible.

**Scope:** `partners:write` (or `write`)

## Path parameters

- `id` string, required: Prefixed id (`part_…`)

## Response `200`

Deleted

- Deleted
  - `id` string, required: Prefixed id (`part_…`)
  - `object` string, required
  - `deleted` true, required

## Other responses

- `400`: Invalid request
- `401`: Missing or unknown API key
- `403`: Key lacks the required scope
- `404`: No such object in your organization
- `422`: The request was understood and refused
- `429`: Rate limited: see Retry-After

---

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