---
title: "Get domain management configuration"
method: GET
path: "/api/{org_id}/domain_management"
tags: ["Domain Management"]
---

# Get domain management configuration

`GET /api/{org_id}/domain_management`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/domain_management`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/domain_management/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the current domain management configuration for custom domain settings and SSL certificate management. Only accessible by the meta organization for security and control purposes. Returns domain configuration including DNS settings, certificate status, and routing configurations for enterprise domain management.

## Path parameters

- `org_id` string, required

## Response `200`

Success

- DomainManagementResponse: Response body for domain management configuration
  - `blocked_domains` string[]: Blocked whole domains (external SSO identities only).
  - `blocked_emails` string[]: Blocked exact emails (external SSO identities only).
  - `domains` DomainConfig[], required: List of domain configurations
    - `allow_all_users` boolean: Whether all users from this domain are allowed MUTUALLY EXCLUSIVE with allowed_emails - when true, allowed_emails must be empty
    - `allowed_emails` string[]: List of specific email addresses allowed from this domain MUTUALLY EXCLUSIVE with allow_all_users - when not empty, allow_all_users must be false
    - `created_at` integer: Timestamp when this domain was added
    - `domain` string, required: Domain name (e.g., "example.com")
    - `enabled` boolean: Whether this domain configuration is active
    - `updated_at` integer: Timestamp when this domain was last updated
  - `enabled` boolean, required: Whether domain restrictions are enabled
  - `updated_at` integer, required: Timestamp when this configuration was last updated

## Other responses

- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
