Delete a memo
Available in CLI 0.47.1 and later. memos rm deletes a whole memo;
memos delete only removes text inside one.
Only the namespace owner or the memo's creator who is still a member of the
owning namespace can delete it; a write share is not enough. A full ID resolves the owning namespace and --namespace then
only asserts it. A slug or title is looked up in --namespace (default: your
personal namespace).
The server soft-deletes: it first tries to save the live content, then keeps the stored
body, but the memo disappears from lists, search and reads. Its share link and
every accepted share are revoked, its live collaboration room is closed, and it
is removed from every project. Neither the CLI nor the API can restore a
deleted memo, so treat memos rm as irreversible. There is no --if-match;
the server takes no precondition on this delete.
Without a terminal and without --yes, nothing is deleted: the command prints
Cancelled. and exits 0. --json returns {id, namespace, name, deleted}.