get location.md

Get Location

Management API · Locations

GET https://app.mk.io/api/v1/locations/{location_name}

Retrieves the specified Location.

RBAC Capability Required: core.location.get

Authentication

Path parameters

Name Type Required Description
location_name string Yes

Example request

curl -X GET "https://app.mk.io/api/v1/locations/{location_name}" \
  -H "Authorization: Bearer <token>"

Responses

200 — Location

Example:

{
  "metadata": {
    "displayName": "string",
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string"
  },
  "spec": {
    "cloud": {
      "displayName": "Azure",
      "name": "azure",
      "region": {
        "displayName": "UK South",
        "name": "uksouth"
      }
    },
    "organization": {
      "id": "00000000-0000-0000-0000-000000000000",
      "name": "MediaKind"
    },
    "type": "SaaS"
  }
}

400 — Bad Request

401 — Unauthorized

403 — Forbidden

404 — Not Found

429 — Too Many Requests

500 — Internal Server Error


Source spec: management-api · operationId: [get]_/api/v1/locations/{location_name}