---
title: "Delete organization"
method: DELETE
path: "/api/v1/organizations/{id}"
tags: ["Organizations"]
---

# Delete organization

`DELETE /api/v1/organizations/{id}`

## Request

- Base URL: `https://app.easyscraper.com`
- URL: `https://app.easyscraper.com/api/v1/organizations/{id}`
- Auth: API key in cookie `better-auth.session_token`

Delete an organization by ID. Only owners can delete, and not their only organization. Cancels the organization's Stripe subscriptions.

## Path parameters

- `id` string, uuid, required

## Response `200`

OK

- object
  - `success` boolean, required

## Other responses

- `400`: 400
- `401`: 401
- `403`: 403
- `404`: 404
- `429`: 429

## Changes

- **2026-11-02** `a12cef98c52b`: 1 breaking
  - added `subschema #1` to the response body `oneOf` list for the response status `400`
- **2026-10-31** `3e642e95991a`: 1 breaking, 1 info
  - added `subschema #2` to the response body `oneOf` list for the response status `403`
  - added the non-success response with the status `429`
- **2026-10-09** `db32553c29a6`: 2 info
  - added the non-success response with the status `404`
  - the `message` response's property default value changed from `Only organization owners can delete the organization` to `You don't have permission to do this in the organization` for the status `403`
- **2026-10-08** `690ffb43a08d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/easyscraper/apis/easy-scraper-api/changes/api/v1/organizations/:id/delete.md)

---

[API](https://skmtc.dev/easyscraper/apis/easy-scraper-api.md) - [All operations](https://skmtc.dev/easyscraper/apis/easy-scraper-api/llms.txt) - [OpenAPI document](https://skmtc.dev/easyscraper/apis/easy-scraper-api/revisions/a12cef98c52b?raw)
