---
title: "Update an existing host memory definitions"
method: PATCH
path: "/memory/{hostName}/"
tags: ["Memory"]
---

# Update an existing host memory definitions

`PATCH /memory/{hostName}/`

## Path parameters

- `hostName` string, required

## Request body

- Memory
  - `id` integer
  - `size_gb` integer, required
  - `handle` string, required
  - `host_id` integer, required

## Response `200`

Memory details

- Memory
  - `id` integer
  - `size_gb` integer, required
  - `handle` string, required
  - `host_id` integer, required

## Other responses

- `default` — Unexpected error

## Changes

- **2024-09-26** `098c2dd82fa1` — 1 breaking
  - api removed without deprecation
- **2024-01-29** `73b6d82124fb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/quadsproject/apis/quads/changes/memory/:hostName/patch.md)

---

[API](https://skmtc.dev/quadsproject/apis/quads.md) · [All operations](https://skmtc.dev/quadsproject/apis/quads/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/quadsproject/quads/revisions/cd516c818c2d/schema)
