---
title: "Get a region"
method: GET
path: "/api/regions/{regionName}"
tags: ["regions"]
---

# Get a region

`GET /api/regions/{regionName}`

## Request

- Base URL: `https://api.hostim.dev`
- URL: `https://api.hostim.dev/api/regions/{regionName}`
- Auth: HTTP bearer

Get a region from the database

## Path parameters

- `regionName` string, required

## Response `200`

Region found

- Region
  - `name` string
  - `ingressIp` string
  - `bastionHost` string

## Other responses

- `401`: User is not authorized
- `404`: Region not found
- `500`: Internal server error

---

[API](https://skmtc.dev/hostim/apis/hostim-api.md) · [All operations](https://skmtc.dev/hostim/apis/hostim-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostim/apis/hostim-api/revisions/37c35e1026a9?raw)
