---
title: "Get the domain from a FQDN."
method: GET
path: "/api/tools/domain/{fqdn}"
tags: ["tools"]
---

# Get the domain from a FQDN.

`GET /api/tools/domain/{fqdn}`

Get the domain part (eg.: `elmasy.com`) from a FQDN (eg.: `columbus.elmasy.com`).

If `Accept` header is `text/plain`, returns the result as a string.

## Path parameters

- `fqdn` string, required

## Response `200`

Success

- Result
  - `result` string

## Other responses

- `400` — Bad Request. See the error message.
- `404` — Domain not found
- `502` — Bad Gateway. Upstream failed.
- `504` — Gateway Timeout. Upstream response takes too long.

## Changes

- **2023-09-29** `22350bbc13c7` — 1 info
  - api operation id `GetToolsDomain` was added
- **2023-08-18** `5a80b6f71e32` — 1 info
  - api operation id `GetToolsDomain` removed and replaced with ``

[Change history](https://skmtc.dev/elmasy-com/apis/columbus-api/changes/api/tools/domain/:fqdn/get.md)

---

[API](https://skmtc.dev/elmasy-com/apis/columbus-api.md) · [All operations](https://skmtc.dev/elmasy-com/apis/columbus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/elmasy-com/columbus-api/revisions/afcfa121a5e2/schema)
