---
title: "Set Member Learning"
method: PATCH
path: "/api/folders/{domain_ref}/members/{member_id}/learning"
tags: ["domains"]
---

# Set Member Learning

`PATCH /api/folders/{domain_ref}/members/{member_id}/learning`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/folders/{domain_ref}/members/{member_id}/learning`
- Auth: none declared

Flip a member's "learns from this folder" switch (TOS-6954).

Admin-only, or self - the design's explicit requirement that a member can
turn their own learning on or off without needing an admin, mirroring
``remove_member``'s self-or-admin rule. Applies to this folder and every
subfolder the member reaches through it; the reconciler runs synchronously
so the response reflects the post-reconcile membership row.

## Path parameters

- `domain_ref` string, required
- `member_id` string, uuid, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Request body

- SetMemberLearningRequest: TOS-6954: flip a member's "learns from this folder" switch.
  - `learns_from_library` boolean, required

## Response `200`

Successful Response

- MemberResponse
  - `id` string, uuid, required
  - `library_id` string, uuid, required
  - `identity_id` string, uuid, required
  - `identity_display_name` string, required
  - `identity_email` string, nullable, required
  - `identity_avatar_url` string, nullable, required
  - `identity_kind` string, required
  - `role` string, required
  - `trust_mode` string, required
  - `is_active` boolean, required
  - `learns_from_library` boolean, required
  - `learned_document_count` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/5387b4ded614?raw)
