curl --request PATCH \
--url https://api.cleartalk.ai/memory/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "Updated Customer Support Memory"
}
'{
"id": "1",
"name": "Customer Support Memory",
"created_at": "2024-01-01T00:00:00.000Z",
"user_id": "1",
"memory_duration": null,
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"memory_cleartalk_id": "cleartalk_memory_123",
"cleartalk_user_id": "cleartalk_user_123"
}curl --request PATCH \
--url https://api.cleartalk.ai/memory/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "Updated Customer Support Memory"
}
'{
"id": "1",
"name": "Customer Support Memory",
"created_at": "2024-01-01T00:00:00.000Z",
"user_id": "1",
"memory_duration": null,
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"memory_cleartalk_id": "cleartalk_memory_123",
"cleartalk_user_id": "cleartalk_user_123"
}API Key for authentication
The new name for the memory. Cannot be null or undefined.
"Updated Customer Support Memory"
Memory updated successfully
Unique identifier for the memory
"1"
Name of the memory
"Customer Support Memory"
ISO timestamp when the memory was created
"2024-01-01T00:00:00.000Z"
Unique identifier for the user who owns the memory
"1"
Duration setting for the memory (null indicates no duration limit)
null
UUID of the memory
"550e8400-e29b-41d4-a716-446655440000"
cleartalk memory ID
"cleartalk_memory_123"
cleartalk user ID
"cleartalk_user_123"