curl --request POST \
--url https://api.mnemom.ai/v1/orgs/{org_id}/safe-house/enable \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"mode": "observe"
}
'{}Customer-admin entry point to set the Safe House mode for an organization. Mirrors the staff-only POST /v1/admin/safe-house/enable route; both call the same enable_sh_for_org(p_org_id, p_mode) RPC. Caller must be an owner or admin of the target org.
curl --request POST \
--url https://api.mnemom.ai/v1/orgs/{org_id}/safe-house/enable \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"mode": "observe"
}
'{}Supabase JWT token in Authorization: Bearer header
Organization identifier (e.g. org-abc12345)
Target Safe House mode. Defaults to observe when omitted.
disabled, off, observe, enforce, enforce_sync, sovereign Mode applied. Response shape mirrors the staff endpoint.
The response is of type object.