PUT
/api/memory/{name}
Authentication
Bearer Token (BearerAuth)
Path Parameters
namestringrequired
Memory item name
Headers
X-Target-Serverstringrequired
Internal IP and port of the pt-agent instance (e.g. 10.10.0.26:9741)
Request Body
Required
descriptionstringrequired
contentstringrequired
Example:
{
"description": "string",
"content": "string"
}Responses
200
Updated memory item
Response Fields:
name(string)safe_name(string)description(string)created_at(string)updated_at(string)content(string)
Example:
{
"name": "string",
"safe_name": "string",
"description": "string",
"created_at": "string",
"updated_at": "string",
"content": "string"
}