Skip to main content
PATCH
/
me
/
context
Set the authenticated user's active org
curl --request PATCH \
  --url https://api.mnemom.ai/v1/me/context \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "org_id": "<string>"
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>",
    "details": "<unknown>"
  }
}

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Body

application/json
org_id
string
required

Org ID to switch the active context to. The user must be a member.

Response

Active org switched. Response envelope matches GET /me/context.