# Source: https://langfuse.com/self-hosting/administration/organization-management-api.md

---
title: Manage Organizations via API
description: Learn how to create, update, and delete organizations via the Langfuse API on self-hosted installations.
label: "Version: v3"
sidebarTitle: "Management API (EE)"
---

# Organization Management API

<Callout type="info">

This is only available in the Enterprise Edition. Please add your [license key](/self-hosting/license-key) to activate it.

</Callout>

## Overview

The Organization Management API allows administrators to programmatically manage organizations in a self-hosted Langfuse instance.
This API is not available on Langfuse Cloud.

| Resource              | Description                                     |
| --------------------- | ----------------------------------------------- |
| Organizations         | Create, update, and delete organizations        |
| Organization API Keys | Generate and manage organization-level API keys |

<Callout type="info">

Via the Organization API Keys, you can use the org-scoped routes to provision projects, users (SCIM), and permissions. Learn more here: [Admin API](/docs/administration/scim-and-org-api).

</Callout>

## Authentication

<Steps>

### Configure an `ADMIN_API_KEY`

Configure an `ADMIN_API_KEY` in your environment configuration:

```bash filename="Environment"
ADMIN_API_KEY=your-admin-api-key
```

### Authenticate with the API

Then, authenticate with the API by setting the Authorization header:

```bash
Authorization: Bearer $ADMIN_API_KEY
```

</Steps>

## API Reference

The API provides endpoints for creating, retrieving, updating, and deleting organizations.
In addition, you can create, list, and delete API keys with an organization scope.
Those can be used to authenticate with the Langfuse API and use management routes for projects and users ([Admin API](/docs/admin-api)).

References:

- API Reference: https://organizations-api.reference.langfuse.com
- OpenAPI spec: https://cloud.langfuse.com/generated/organizations-api/openapi.yml