# Organization settings

Members, teams, billing, security, integrations, the agent and the audit log.

Admins manage the organization in **Organization settings**:

| Page | What's there |
| --- | --- |
| **General** | The organization's name; delete the organization. |
| **Members** | Members, their roles and pending invites. See [Members and permissions](members-and-permissions). |
| **Teams** | Groups of members to share content with. |
| **Billing** | Plan, usage, invoices and AI credits. See [Plans and billing](plans-and-billing). |
| **Security** | Require two-factor authentication. |
| **Integrations** | Slack channels, Git commit statuses, the app directory and installed apps. See [Integrations](integrations). |
| **Agent** | The [Docsheaf Agent](docsheaf-agent). |
| **Webhooks** | Endpoints that hear what happens in your docs. See [Integrations](integrations#webhooks). |
| **Apps** | Apps your organization builds on the API. See [Integrations](integrations#build-an-app). |
| **Audit log** | Who did what, and when. |

## Security

Turn on **Require two-factor authentication** to refuse members — and their API tokens — until they use an
authenticator app or a passkey. You need two-factor authentication yourself before you can turn it on, and
members can't turn theirs off while any of their organizations requires it. Part of the Business plan.

## Audit log

The audit log records changes across the organization: content and publishing, sites and domains,
members, roles and teams, permissions, tokens and billing. Filter it by person, action and
date, and export it as CSV. Part of the Business plan.

### Stream to a SIEM

On Business, copy the audit log to your security tools as it happens:

| Destination | Delivery |
| --- | --- |
| **Splunk** | HTTP Event Collector, one event per entry. |
| **Datadog** | Logs intake of your Datadog site. |
| **Amazon S3** | One JSON-lines file per batch, in AWS or any S3-compatible storage. |
| **HTTPS** | JSON lines, signed with a secret (`Docsheaf-Signature` header). |

Each entry carries its id, time, action, actor, target, details, IP address and user agent. Streams send
in order and never skip or repeat an entry: a refused batch is retried, and a paused stream catches up
when resumed.

## Delete the organization

**General → Delete organization** permanently deletes its sites, spaces, history, files and members'
access, and cancels its subscription. You'll be asked to type the organization's name and confirm with your
password and second factor.
