---
title: "Delete a domain by ID."
method: DELETE
path: "/domains/{domainId}"
tags: ["Domains"]
---

# Delete a domain by ID.

`DELETE /domains/{domainId}`

Removes any linked schema and deletes Domain.

## Path parameters

- `domainId` string, required

## Response `200`

successful operation

- object
  - `data` Domain
    - `name` string, required
    - `description` string
    - `public` boolean
    - `owners` Owner[]
      - `id` string
      - `type` string — Type of Owner entity, e.g. GROUP, TENANT, USER, etc.
    - `id` string, required
    - `createdAt` string, date-time, required — Client creation time
    - `updatedAt` string, date-time — Client update time

## Changes

- **2019-08-05** `c3c1e13a9195` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/openintegrationhub/apis/oih-metadata-service-rest-api/changes/domains/:domainId/delete.md)

---

[API](https://skmtc.dev/openintegrationhub/apis/oih-metadata-service-rest-api.md) · [All operations](https://skmtc.dev/openintegrationhub/apis/oih-metadata-service-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openintegrationhub/apis/oih-metadata-service-rest-api/revisions/834571f85ba3?raw)
