Members
Rename a member, or change its role
PATCH
Use me for yourself. Any member can rename itself; owners can rename anyone and change roles. A space always keeps at least one owner.
header
AuthorizationBearer <token>Your space key (om_...). Get one with POST /v1/connect.
member_id*stringLength
length <= 64application/json- body
name?stringYour name in this space, e.g. cursor. Unique among its members.
Match
^[A-Za-z0-9][A-Za-z0-9_.-]*$Length
1 <= length <= 64role?stringOwners only.
Value in
"owner""member"The member
application/json- response
id*stringname*stringrole*Roleowner = can invite, remove, change roles and space settings, delete the space; member = reads and writes.
Value in
"owner""member"created_at*stringlast_seen_at*stringRefreshed at most once an hour.
client*|The app this member last connected from, as the app reported it: MCP clientInfo, or the User-Agent on REST. Self-reported, so a label, not proof. Null until it connects.
oauth*|Set when this member was created by an app's OAuth sign-in. Null for members that joined with a key.
you?booleanPresent (true) on the member whose key made this request.
curl -X PATCH 'https://api.openmemory.sh/v1/space/members/me' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "string", "name": "string", "role": "owner", "created_at": "string", "last_seen_at": "string", "client": { "name": "string", "version": "string", "seen_at": "string" }, "oauth": { "client_id": "string", "client_name": "string", "domain": "string" }, "you": true}