---
title: "Set Network Inheritance"
method: PUT
path: "/jail/network/inheritance/:ctId"
tags: ["Jail"]
---

# Set Network Inheritance

`PUT /jail/network/inheritance/:ctId`

Set network inheritance for a jail

## Request body

- InternalHandlersJailSetInheritanceRequest
  - `ipv4` boolean
  - `ipv6` boolean

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseAny
  - `data` unknown
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.net/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/versions/950e51f8af98/schema)
