Skip to main content
PUT
/
memory-collections
/
{collectionId}
Update Memory Collection
curl --request PUT \
  --url https://api.tess.im/memory-collections/{collectionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.tess.im/llms.txt

Use this file to discover all available pages before exploring further.

Code Examples

curl --request PUT \
  --url 'https://api.tess.im/memory-collections/{collectionId}' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "Updated Collection Name"
  }'

Path Parameters

collectionId
integer
required
Collection ID

Request Body

name
string
required
Name of the collection

Response

{
"message": "Collection updated successfully",
"collection": {
  "id": 2,
  "user_id": 1,
  "name": "string"
}
}

Error Responses

Collection not found (404)

{
  "message": "Collection not found"
}