---
title: "Delete an organization"
method: DELETE
path: "/organizations/{organizationId}"
tags: ["Organizations"]
---

# Delete an organization

`DELETE /organizations/{organizationId}`

## Request

- Base URL: `https://api.cactal.ai/v1`
- URL: `https://api.cactal.ai/v1/organizations/{organizationId}`
- Auth: HTTP bearer

Soft-deletes the organization: it immediately disappears from list and read endpoints, all pending invitations are canceled, and a paid plan stops renewing at the end of its current billing period. Data is retained for a 30-day restore window, after which the organization, its websites, and their data are permanently deleted. Requires the organization owner.

## Path parameters

- `organizationId` string, required

## Response `200`

Confirmation of the deletion with the purge deadline; the organization can be restored until then.

- object
  - `id` string, required: Id of the deleted organization.
  - `name` string, required: Display name of the deleted organization.
  - `deletedAt` string, date-time, required: When the organization was soft-deleted.
  - `purgeEligibleAt` string, date-time, required: When the organization becomes eligible for permanent purge. It can be restored until then.

## Other responses

- `400`: Validation failed. The response `message` names the first invalid field.
- `401`: Missing, invalid, expired, or revoked API key.
- `403`: The authenticated principal lacks the required capability.
- `404`: The resource does not exist or is outside the principal’s access scope.
- `429`: Rate limit exceeded. Retry after the number of seconds in the `Retry-After` header.

---

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