---
title: "Organization-level DIDs"
description: "Set up organization-level did:web identifiers in the walt.id Enterprise Stack for DIDs shared across tenants, such as a central issuer DID."
stack: "Enterprise Stack (commercial) — version 1.2.1"
stack_version: "1.2.1"
stack_comparison: https://docs.walt.id/community-vs-enterprise.md
canonical_url: https://docs.walt.id/enterprise-stack/services/did-registry/organization-level-did
generated: 2026-11-11
---
# Organization-level DIDs

Organization-level DIDs are scoped to the entire organization, not to a specific tenant. Use this model when a DID should represent the organization itself or be shared across multiple tenants — for example, a central issuer DID or an admin identity.

## When to use organization-level DIDs

| Use organization-level when… | Example |
|:-----------------------------|:--------|
| The DID represents the organization as a whole | `did:web:org.example.com:issuer` |
| One issuer serves credentials across all tenants | Central OID4VCI issuer DID |
| You want shorter DID paths without a tenant segment | `did:web:domain.com:alice` instead of `did:web:domain.com:tenant:alice` |

For per-tenant isolation, use [Tenant-level DIDs](https://docs.walt.id/enterprise-stack/services/did-registry/tenant-level-did.md) instead.

## DID format and resolution

| | Value |
|:--|:------|
| **DID pattern** | `did:web:{domain}:{user}` |
| **Example DID** | `did:web:waltid.enterprise-sandbox.waltid.dev:alice` |
| **Resolution URL** | `https://waltid.enterprise-sandbox.waltid.dev/alice/did.json` |

When creating a DID via the DID Service, set the `path` to the user segment directly (no tenant prefix):

```json
{
  "domain": "waltid.enterprise-sandbox.waltid.dev",
  "path": "alice"
}
```

See [Create a did:web](https://docs.walt.id/enterprise-stack/services/did-registry/create-did-web.md) for the full API.

## Setup overview

Organization-level DIDs require two configuration steps:

1. **Create an organization-level DID Registry service** at the organization scope (not inside a tenant)
2. **Register it as the root DID registry** in the organization configuration via `rootDidRegistry`

```mermaid
flowchart TD
    A[Create DID Registry at org level] --> B[Set rootDidRegistry in org config]
    B --> C[Create DIDs with org-scoped paths]
    C --> D[DIDs resolve at https://domain/user/did.json]
```

## Step 1: Create the organization-level DID Registry

Create the registry at the **organization** level. The `target` is `{organizationID}.{serviceID}` — no tenant segment.

**Option: CURL**

Endpoint: `/v1/{target}/resource-api/services/create` | [API Reference](https://enterprise.sandbox.walt.id/swagger/index.html#/Service%20%7C%20Resource/post_v1__target__resource_api_services_create)

**Example Request**

```bash
curl -X 'POST' \
  'https://{orgID}.enterprise-sandbox.waltid.dev/v1/{target}/resource-api/services/create' \
  -H 'accept: */*' \
  -H 'Authorization: Bearer {yourToken}' \
  -H 'Content-Type: application/json' \
  -d '{
  "type": "did-registry"
}'
```

**Path Parameters**

- `orgID` — Organization base URL or host alias (e.g. `waltid.enterprise-sandbox.waltid.dev`).
- `target` — _resourceIdentifier_ — Organization + service ID: `{organizationID}.{serviceID}`, e.g. `waltid.did-registry-main`

**Header Parameters**

- `Authorization` — Bearer token for Enterprise Stack authentication. Format: `Bearer {yourToken}`.

**Body Parameters**

- `type` — _serviceType_ — Must be `did-registry`

---

**Response Codes**

- `201` — Service created successfully.

**Note:**

Remember to add a DID Store as a dependency on this registry service, as described in [Setup](https://docs.walt.id/enterprise-stack/services/did-registry/setup.md#3b-attach-did-store-dependency).

## Step 2: Register the root DID Registry

Tell the organization which registry service handles organization-level DIDs by setting `rootDidRegistry`.

**Option: CURL**

Endpoint: `/v1/organization/update-config` | [API Reference](https://enterprise.sandbox.walt.id/swagger/index.html#/Organization/post_v1_organization_update_config)

**Example Request**

```bash
curl -X 'POST' \
  'https://{orgID}.enterprise-sandbox.waltid.dev/v1/organization/update-config' \
  -H 'accept: */*' \
  -H 'Authorization: Bearer {yourToken}' \
  -H 'Content-Type: application/json' \
  -d '{
  "rootDidRegistry": "waltid.did-registry-main"
}'
```

**Path Parameters**

- `orgID` — Organization base URL (same as above).

**Header Parameters**

- `Authorization` — Bearer token for Enterprise Stack authentication. Format: `Bearer {yourToken}`.

**Body Parameters**

- `rootDidRegistry` — _resourceIdentifier_ — Full ID of the organization-level DID Registry service, e.g. `waltid.did-registry-main`

---

**Response Codes**

- `200` — Configuration updated successfully.

## Step 3: Create and verify a DID

Create a `did:web` using the DID Service with an organization-scoped path, then verify resolution:

```bash
# Create the DID (via DID Service)
# Then verify:
curl https://waltid.enterprise-sandbox.waltid.dev/alice/did.json
```

## Next steps

- [Setup](https://docs.walt.id/enterprise-stack/services/did-registry/setup.md) — Wire the registry to a DID Store
- [Create a did:web](https://docs.walt.id/enterprise-stack/services/did-registry/create-did-web.md) — Generate organization-scoped DIDs
- [External DID Web Hosting](https://docs.walt.id/enterprise-stack/services/did-registry/external-did-web-hosting.md) — Publish DIDs on a custom domain
