---
title: "Edit a Jail's name"
method: PUT
path: "/jail/name"
tags: ["Jail"]
---

# Edit a Jail's name

`PUT /jail/name`

Update the name of a jail by its ID

## Request body

- InternalHandlersJailJailEditNameRequest
  - `id` integer, required
  - `name` string, required

## 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)
