---
title: "Create Gateway Host Origin Restriction"
method: POST
path: "/gateways/{id}/hosts"
tags: ["default"]
---

# Create Gateway Host Origin Restriction

`POST /gateways/{id}/hosts`

`org:gateways:write`

## Path parameters

- `id` string, required

## Request body

- object
  - `host` string — Host for target Gateway

## Response `200`

OK

- object

---

[API](https://skmtc.net/pinata/apis/pinata-v3-api.md) · [All operations](https://skmtc.net/pinata/apis/pinata-v3-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pinata/pinata-v3-api/versions/734684efd9c4/schema)
