Skip to main content
DELETE
Delete a memory file

Authorizations

x-cominty-token
string
header
required

A Cominty Platform API secret. A key created now starts with sk-cmt-. Send it as is, or as Bearer sk-cmt-..., with at most one Bearer prefix. A key created before the prefix existed has no sk-cmt- and still works.

Query Parameters

path
string
required

Relative path with at most one folder segment, for example notes/todo.md. a/b/todo.md returns 422.

namespace
string | null

Namespace the file belongs to. Required for an API token. Omitting it returns 400 Missing namespace. At most 128 characters.

Maximum string length: 128
user_id
string | null

Optional. Does not select the memory namespace.

Response

Successful Response