---
title: "Update Jail Memory"
method: PUT
path: "/jail/memory"
tags: ["Jail"]
---

# Update Jail Memory

`PUT /jail/memory`

Update the memory limit of a jail by its ID

## Request body

- InternalHandlersJailJailUpdateMemoryRequest
  - `ctId` integer, required
  - `memory` integer, 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)
