---
title: "Restore a deleted organization"
method: POST
path: "/organizations/{organizationId}/restore"
tags: ["Organizations"]
---

# Restore a deleted organization

`POST /organizations/{organizationId}/restore`

## Request

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

Restores a soft-deleted organization within its 30-day restore window, bringing back its websites, members, and data as they were. Pending invitations canceled by the deletion stay canceled, and a plan the deletion stopped from renewing stays that way until resumed with `POST /v1/billing/subscription/uncancel`. Requires the organization owner.

## Path parameters

- `organizationId` string, required

## Response `200`

The restored organization.

- object
  - `id` string, required: Unique organization ID.
  - `name` string, required: Display name.
  - `slug` string, required: Unique URL-safe identifier (lowercase letters, digits, and hyphens).
  - `logo` string, nullable, required: Logo URL, or `null` when unset.
  - `metadata` object, nullable, required: Arbitrary key–value metadata attached to the organization. `null` when unset.
  - `createdAt` string, date-time, required: When the organization was created.

## 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)
