Skip to main content
POST /api/v1/cloud/memory_stores/{memory_store_id} Updates a memory store. All fields are optional; omitted fields are preserved.

Headers

HeaderRequiredDescription
AuthorizationYesBearer <PAT>
Content-TypeYesapplication/json

Path parameters

ParameterDescription
memory_store_idThe store ID (memstore_...)

Request body

FieldTypeRequiredDescription
namestringNoNew name, 1–255 characters, no control characters
descriptionstringNoNew description, up to 1024 characters. Pass empty string to clear
metadataobjectNoMetadata patch. Set a key to a string to upsert, or to null to delete. Omit to preserve

Example request

curl -X POST "https://api.qoder.com/api/v1/cloud/memory_stores/memstore_019e5cdb9c3f71c3b6505eba937a40b4" \
  -H "Authorization: Bearer $QODER_PAT" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "project-alpha-memory-v2",
    "metadata": {"team": null, "env": "production"}
  }'

Response

Returns the updated Memory Store object.