> ## Documentation Index
> Fetch the complete documentation index at: https://docs.erdo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Archive, restore and rename organizations

> Tidy stale organizations without deleting anything. Archive hides an organization and its automations won't run while it is archived, restore undoes it, and rename changes its display name.

Archiving is the reversible way to retire an organization you no longer use, such as a test run or a superseded build. It hides the organization, and its automations won't run while it is archived. It deletes nothing.

## What archive does

* Hides the organization from organization lists, the organization switcher and managed-organization lists.
* Stops the organization's automations from running. Scheduled runs, manual runs, continuations and managed-action recoveries are all refused while it is archived. No automation's state changes.

## What stops and what keeps working

Stops while archived:

* Automation runs: scheduled, manual, continuations and managed-action recoveries. A refused run is recorded as skipped, not as a failure.
* Lead follow-up delivery (texts, emails and calls the engine would send) and new follow-up decisions. Contacts already decided stay queued and go out after a restore.
* Event pipeline actions that send outward: `script.run` and `webhook.send`.
* The automatic experiment decision agent.

Keeps working:

* Lead capture, inbound webhooks and everything written to datasets.
* Public pages and their URLs.
* Inbound voice and text conversations.
* Reading anything in the organization, for members and managers.

Everything else stays as it was. Datasets, pages (public page URLs keep serving), pipelines, integrations, phone numbers and voice agents are untouched, and members and managers can still open the organization directly.

## What restore does

* Shows the organization in lists again.
* Lets the automations run again exactly as they were. Restore only clears the archived flag.

Archive and restore are both safe to repeat.

While an organization is archived you can still enable or edit its automations. They simply do not run until you restore it. A refused run is recorded as skipped with the reason "organization archived", not as a failure.

## Rename

Rename changes the display name only. The slug stays the same, so dataset names and links keep working. The name is trimmed and cannot be empty.

## Who can do it

You need to be an admin or owner of the organization. A person who manages it through a manager organization qualifies if they are an admin or owner of the manager organization. Plain members cannot archive, restore or rename. A personal workspace cannot be renamed.

## CLI

```bash theme={null}
erdo org archive <slug>
erdo org restore <slug>
erdo org rename <slug> --name "New display name"
erdo org list --archived
```

`org list` hides archived organizations. `--archived` lists only those.

## REST

| Action | Request |
| - | - |
| Archive | `POST /v1/organizations/{slug}/archive` |
| Restore | `POST /v1/organizations/{slug}/restore` |
| Rename | `POST /v1/organizations/{slug}/rename` with `{"name": "New display name"}` |
| List archived | `GET /v1/organizations?archived=true` |
| List managed clients including archived | `GET /v1/managed-organizations?include_archived=true` (each entry carries `archived_at`) |

Archive, restore and rename return the organization's `id`, `name`, `slug`, `archived` and, while archived, `archived_at`. Scoped API keys cannot call these endpoints.

## MCP tools

`erdo_archive_organization`, `erdo_restore_organization`, `erdo_rename_organization` and `erdo_list_archived_organizations`, all in the `account` toolset. Each names the organization by `org_slug`.

## Archive or delete

Archive when you might want the organization back. Deleting an organization is permanent: it removes its datasets, integrations and voice numbers.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.