PUT /openapi/memorylake/admin/v1/access-groups/{group_id}/access-scope
Replaces, per listed resource type, the instances the group gives its members access to. A group only adds access: mode all removes the type’s instances from the group and limits nobody. Project instances need their workspace_id. The response is the scope as Get Access Group Access Scope returns it, so view is required as well.The response carries an ETag header (the same value a GET of this resource returns). Send it back in If-Match to make the write conditional: when the resource has changed in the meantime the write is refused with 412 and nothing is changed. The check narrows, but does not fully close, the window for a concurrent overwrite — two writers that pass it at the same instant can both write.
Permission required:access_group:manage and access_group:view
Changes that give someone an admin role, or that reduce what an admin can reach, also require the team owner or an admin.
Path Parameters
string
required
Identifier
Headers
string
Optional. The ETag from a previous read of this resource. The write is refused with 412 when the resource has changed since; omit it to overwrite unconditionally.
Request Body
string
required
Why the change is made; recorded in the audit log
array
required
Each listed resource type’s instance list is replaced by the given one; mode all removes the type’s instances (a group never limits anyone). Types not listed keep their current list.
Show Access Scope Entry object
string
required
all = every instance; instances = only the listed ones
string
required
Resource type, e.g. memorylake:project
array
Instances when mode is instances; may be empty
Show Access Scope Instance object
string
required
Instance id
array
Omit for every action the member’s role allows
boolean
Echo of a read-only row. Instances marked true are skipped on write — permission levels are set on the resource, not through scope.
One entry per scopable resource type; a group only ever adds access
Show Access Scope Entry object
string
all = every instance; instances = only the listed ones
string
Resource type, e.g. memorylake:project (see GET /permission-catalog)
array
Read-only. Instance-level actions the member’s role grants for this type — the most a scope entry can allow.
array
The instances, when mode is instances
Show Access Scope Instance object
string
Instance id, as returned by the data API
array
Actions allowed on this instance. Omit for every action the member’s role allows.
array
Read-only. The subset of actions the member’s CURRENT role still grants.
string
Read-only. The permission level, when via_permission_level is true. One of: read, write, manage.
array
Read-only. Actions stored here that the member’s current role no longer grants.
boolean
Read-only. The member reaches this instance through a permission level granted on it, not through this scope. May be echoed back on write; such instances are skipped.
string
Parent workspace of a project instance. Required when writing a project instance.
Errors answer with success: false, a message and an error_code. See Error Codes for every code.
Status
Meaning
400
A parameter or the body is invalid
401
The API key is missing, invalid, disabled or expired
403
The key is not allowed to do this
404
The resource does not exist
409
The request conflicts with the current state, e.g. a duplicate or a limit reached
412
The If-Match value no longer matches: the resource changed since you read it
422
The body or a parameter failed validation
429
Too many requests. Wait for the time in Retry-After
500
Server-side error
503
Temporarily unavailable. Retry later
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MemoryLake AI","colors":{"primary":"#E75C2A","light":"#F2A361","dark":"#EF8640"},"logo":{"light":"https://mintcdn.com/datacloud-924043c1/W_-TJZhNN0WMmbCI/logo/light.svg?fit=max\u0026auto=format\u0026n=W_-TJZhNN0WMmbCI\u0026q=85\u0026s=9766e4cbaa7d674460d63cee7a88c501","dark":"https://mintcdn.com/datacloud-924043c1/W_-TJZhNN0WMmbCI/logo/dark.svg?fit=max\u0026auto=format\u0026n=W_-TJZhNN0WMmbCI\u0026q=85\u0026s=a41577a71bafe8a081881ff6b98cb305"},"favicon":"https://mintcdn.com/datacloud-924043c1/pEDy58oBG5CxVCQs/favicon.svg?fit=max\u0026auto=format\u0026n=pEDy58oBG5CxVCQs\u0026q=85\u0026s=d47c4a1ae8b1aac3422e43e0d1bc022b","navbar":{"primary":{"type":"button","label":"Console","href":"https://app.memorylake.ai"}},"footer":{"socials":{"x":"https://x.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://linkedin.com/company/mintlify"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"overview"},{"language":"zh","href":"zh/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"datacloud-924043c1","hasAudioNarration":false,"actualSubdomain":"datacloud-924043c1","customDomains":["docs.memorylake.ai"],"gitSource":{"type":"github","owner":"memorylake-ai","repo":"memorylake-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10c6db9ffae5051c40749b"},"entitlements":{},"buildId":"6b0cea3c688a432224fb186f","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"en","tag":"API reference","count":243},{"language":"zh","tag":"API 参考","count":243},{"language":"en","tag":"MemoryLake API","count":236},{"language":"zh","tag":"MemoryLake API","count":236},{"language":"en","tag":"Guides","count":51},{"language":"zh","tag":"指南","count":51},{"language":"en","tag":"Access Control","count":29},{"language":"en","tag":"Projects","count":29},{"language":"zh","tag":"访问控制","count":29},{"language":"zh","tag":"项目","count":29},{"language":"en","tag":"Agents","count":28},{"language":"zh","tag":"Agent","count":28},{"language":"en","tag":"Actors","count":22},{"language":"zh","tag":"Actor","count":22},{"language":"en","tag":"Deprecated","count":21},{"language":"zh","tag":"已弃用","count":21},{"language":"en","tag":"Billing","count":18},{"language":"en","tag":"Workspaces","count":18},{"language":"zh","tag":"计费","count":18},{"language":"zh","tag":"工作空间","count":18}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"hidden-docs.css","content":"html:not([data-show-hidden-docs]) [data-group-tag=\"Preview\"]:not([data-active]),html:not([data-show-hidden-docs]) [data-group-tag=\"预览\"]:not([data-active]),html:not([data-show-hidden-docs]) div:has(>.sidebar-group-header [data-nav-tag=\"Preview\"]):not(:has([data-active])),html:not([data-show-hidden-docs]) div:has(>.sidebar-group-header [data-nav-tag=\"预览\"]):not(:has([data-active])){display:none}"}]}
{"page":{"pagePath":"features/memorylake/api-reference/access-control/set-access-group-access-scope","slug":"/features/memorylake/api-reference/access-control/set-access-group-access-scope","pageMetadata":{"title":"Set Access Group Access Scope","description":"Replaces, per listed resource type, the instances the group gives its members access to","href":"/features/memorylake/api-reference/access-control/set-access-group-access-scope"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Replaces, per listed resource type, the instances the group gives its members access to\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`PUT /openapi/memorylake/admin/v1/access-groups/{group_id}/access-scope`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Replaces, per listed resource type, the instances the group gives its members access to. A group only adds access: mode all removes the type’s instances from the group and limits nobody. Project instances need their workspace_id. The response is the scope as `,_jsx(_components.a,{href:`/features/memorylake/api-reference/access-control/get-access-group-access-scope`,children:`Get Access Group Access Scope`}),` returns it, so view is required as well.`]}),`\n`,_jsxs(_components.p,{children:[`The response carries an `,_jsx(_components.code,{children:`ETag`}),` header (the same value a GET of this resource returns). Send it back in `,_jsx(_components.code,{children:`If-Match`}),` to make the write conditional: when the resource has changed in the meantime the write is refused with 412 and nothing is changed. The check narrows, but does not fully close, the window for a concurrent overwrite — two writers that pass it at the same instant can both write.`]}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Permission required:`}),` `,_jsx(_components.code,{children:`access_group:manage`}),` and `,_jsx(_components.code,{children:`access_group:view`})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Changes that give someone an admin role, or that reduce what an admin can reach, also require the team owner or an admin.`}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`group_id`,type:`string`,required:true,id:`param-group-id`,children:_jsx(_components.p,{children:`Identifier`})}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`If-Match`,type:`string`,id:`param-if-match`,children:_jsx(_components.p,{children:`Optional. The ETag from a previous read of this resource. The write is refused with 412 when the resource has changed since; omit it to overwrite unconditionally.`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`reason`,type:`string`,required:true,id:`param-reason`,children:_jsx(_components.p,{children:`Why the change is made; recorded in the audit log`})}),`\n`,_jsxs(ParamField,{body:`scopes`,type:`array`,required:true,id:`param-scopes`,children:[_jsx(_components.p,{children:`Each listed resource type’s instance list is replaced by the given one; mode all removes the type’s instances (a group never limits anyone). Types not listed keep their current list.`}),_jsxs(Expandable,{title:`Access Scope Entry object`,children:[_jsx(ParamField,{body:`scopes[].mode`,type:`string`,required:true,id:`param-scopes-mode`,children:`all = every instance; instances = only the listed ones`}),_jsx(ParamField,{body:`scopes[].resource_type`,type:`string`,required:true,id:`param-scopes-resource-type`,children:`Resource type, e.g. memorylake:project`}),_jsxs(ParamField,{body:`scopes[].instances`,type:`array`,id:`param-scopes-instances`,children:[_jsx(_components.p,{children:`Instances when mode is instances; may be empty`}),_jsxs(Expandable,{title:`Access Scope Instance object`,children:[_jsx(ParamField,{body:`scopes[].instances[].id`,type:`string`,required:true,id:`param-scopes-instances-id`,children:`Instance id`}),_jsx(ParamField,{body:`scopes[].instances[].actions`,type:`array`,id:`param-scopes-instances-actions`,children:`Omit for every action the member’s role allows`}),_jsx(ParamField,{body:`scopes[].instances[].via_permission_level`,type:`boolean`,id:`param-scopes-instances-via-permission-level`,children:`Echo of a read-only row. Instances marked true are skipped on write — permission levels are set on the resource, not through scope.`}),_jsx(ParamField,{body:`scopes[].instances[].workspace_id`,type:`string`,id:`param-scopes-instances-workspace-id`,children:`Parent workspace — required for project instances`})]})]})]})]}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`Access Group Access Scope object`,children:[_jsx(ResponseField,{name:`group_id`,type:`string`,id:`param-group-id-1`,children:`The group`}),_jsxs(ResponseField,{name:`scopes`,type:`array`,id:`param-scopes-1`,children:[_jsx(_components.p,{children:`One entry per scopable resource type; a group only ever adds access`}),_jsxs(Expandable,{title:`Access Scope Entry object`,children:[_jsx(ResponseField,{name:`mode`,type:`string`,id:`param-mode`,children:`all = every instance; instances = only the listed ones`}),_jsx(ResponseField,{name:`resource_type`,type:`string`,id:`param-resource-type`,children:`Resource type, e.g. memorylake:project (see GET /permission-catalog)`}),_jsx(ResponseField,{name:`available_actions`,type:`array`,id:`param-available-actions`,children:`Read-only. Instance-level actions the member’s role grants for this type — the most a scope entry can allow.`}),_jsxs(ResponseField,{name:`instances`,type:`array`,id:`param-instances`,children:[_jsx(_components.p,{children:`The instances, when mode is instances`}),_jsxs(Expandable,{title:`Access Scope Instance object`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:`Instance id, as returned by the data API`}),_jsx(ResponseField,{name:`actions`,type:`array`,id:`param-actions`,children:`Actions allowed on this instance. Omit for every action the member’s role allows.`}),_jsx(ResponseField,{name:`effective_actions`,type:`array`,id:`param-effective-actions`,children:`Read-only. The subset of actions the member’s CURRENT role still grants.`}),_jsxs(ResponseField,{name:`permission_level`,type:`string`,id:`param-permission-level`,children:[`Read-only. The permission level, when via_permission_level is true. One of: `,_jsx(_components.code,{children:`read`}),`, `,_jsx(_components.code,{children:`write`}),`, `,_jsx(_components.code,{children:`manage`}),`.`]}),_jsx(ResponseField,{name:`shadowed_actions`,type:`array`,id:`param-shadowed-actions`,children:`Read-only. Actions stored here that the member’s current role no longer grants.`}),_jsx(ResponseField,{name:`via_permission_level`,type:`boolean`,id:`param-via-permission-level`,children:`Read-only. The member reaches this instance through a permission level granted on it, not through this scope. May be echoed back on write; such instances are skipped.`}),_jsx(ResponseField,{name:`workspace_id`,type:`string`,id:`param-workspace-id`,children:`Parent workspace of a project instance. Required when writing a project instance.`})]})]})]})]})]})}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Errors answer with `,_jsx(_components.code,{children:`success: false`}),`, a `,_jsx(_components.code,{children:`message`}),` and an `,_jsx(_components.code,{children:`error_code`}),`. See `,_jsx(_components.a,{href:`/features/memorylake/api-reference/errors`,children:`Error Codes`}),` for every code.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`A parameter or the body is invalid`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`The API key is missing, invalid, disabled or expired`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The key is not allowed to do this`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`The resource does not exist`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The request conflicts with the current state, e.g. a duplicate or a limit reached`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`412`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`If-Match`}),` value no longer matches: the resource changed since you read it`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The body or a parameter failed validation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsxs(_components.td,{children:[`Too many requests. Wait for the time in `,_jsx(_components.code,{children:`Retry-After`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Server-side error`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`Temporarily unavailable. Retry later`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Set Access Group Access Scope","description":"Replaces, per listed resource type, the instances the group gives its members access to","href":"/features/memorylake/api-reference/access-control/set-access-group-access-scope"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`PUT /openapi/memorylake/admin/v1/access-groups/{group_id}/access-scope`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Replaces, per listed resource type, the instances the group gives its members access to. A group only adds access: mode all removes the type’s instances from the group and limits nobody. Project instances need their workspace_id. The response is the scope as `,_jsx(_components.a,{href:`/features/memorylake/api-reference/access-control/get-access-group-access-scope`,children:`Get Access Group Access Scope`}),` returns it, so view is required as well.`]}),`\n`,_jsxs(_components.p,{children:[`The response carries an `,_jsx(_components.code,{children:`ETag`}),` header (the same value a GET of this resource returns). Send it back in `,_jsx(_components.code,{children:`If-Match`}),` to make the write conditional: when the resource has changed in the meantime the write is refused with 412 and nothing is changed. The check narrows, but does not fully close, the window for a concurrent overwrite — two writers that pass it at the same instant can both write.`]}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Permission required:`}),` `,_jsx(_components.code,{children:`access_group:manage`}),` and `,_jsx(_components.code,{children:`access_group:view`})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Changes that give someone an admin role, or that reduce what an admin can reach, also require the team owner or an admin.`}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`group_id`,type:`string`,required:true,id:`param-group-id`,children:_jsx(_components.p,{children:`Identifier`})}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`If-Match`,type:`string`,id:`param-if-match`,children:_jsx(_components.p,{children:`Optional. The ETag from a previous read of this resource. The write is refused with 412 when the resource has changed since; omit it to overwrite unconditionally.`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`reason`,type:`string`,required:true,id:`param-reason`,children:_jsx(_components.p,{children:`Why the change is made; recorded in the audit log`})}),`\n`,_jsxs(ParamField,{body:`scopes`,type:`array`,required:true,id:`param-scopes`,children:[_jsx(_components.p,{children:`Each listed resource type’s instance list is replaced by the given one; mode all removes the type’s instances (a group never limits anyone). Types not listed keep their current list.`}),_jsxs(Expandable,{title:`Access Scope Entry object`,children:[_jsx(ParamField,{body:`scopes[].mode`,type:`string`,required:true,id:`param-scopes-mode`,children:`all = every instance; instances = only the listed ones`}),_jsx(ParamField,{body:`scopes[].resource_type`,type:`string`,required:true,id:`param-scopes-resource-type`,children:`Resource type, e.g. memorylake:project`}),_jsxs(ParamField,{body:`scopes[].instances`,type:`array`,id:`param-scopes-instances`,children:[_jsx(_components.p,{children:`Instances when mode is instances; may be empty`}),_jsxs(Expandable,{title:`Access Scope Instance object`,children:[_jsx(ParamField,{body:`scopes[].instances[].id`,type:`string`,required:true,id:`param-scopes-instances-id`,children:`Instance id`}),_jsx(ParamField,{body:`scopes[].instances[].actions`,type:`array`,id:`param-scopes-instances-actions`,children:`Omit for every action the member’s role allows`}),_jsx(ParamField,{body:`scopes[].instances[].via_permission_level`,type:`boolean`,id:`param-scopes-instances-via-permission-level`,children:`Echo of a read-only row. Instances marked true are skipped on write — permission levels are set on the resource, not through scope.`}),_jsx(ParamField,{body:`scopes[].instances[].workspace_id`,type:`string`,id:`param-scopes-instances-workspace-id`,children:`Parent workspace — required for project instances`})]})]})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`20`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://app.memorylake.ai/openapi/memorylake/admin/v1/access-groups/7013fb5c15cfb29411f040967354b8a3/access-scope'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer sk_xxxxxx'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"reason\": \"example\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"scopes\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mode\": \"all\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resource_type\": \"example\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"instances\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\": \"185afe41ca6ac4566fdc7a9adeabf5a0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"actions\": [],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"via_permission_level\": false,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"workspace_id\": \"12404b77739317d2b08fc918a95f0be9\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`Access Group Access Scope object`,children:[_jsx(ResponseField,{name:`group_id`,type:`string`,id:`param-group-id-1`,children:`The group`}),_jsxs(ResponseField,{name:`scopes`,type:`array`,id:`param-scopes-1`,children:[_jsx(_components.p,{children:`One entry per scopable resource type; a group only ever adds access`}),_jsxs(Expandable,{title:`Access Scope Entry object`,children:[_jsx(ResponseField,{name:`mode`,type:`string`,id:`param-mode`,children:`all = every instance; instances = only the listed ones`}),_jsx(ResponseField,{name:`resource_type`,type:`string`,id:`param-resource-type`,children:`Resource type, e.g. memorylake:project (see GET /permission-catalog)`}),_jsx(ResponseField,{name:`available_actions`,type:`array`,id:`param-available-actions`,children:`Read-only. Instance-level actions the member’s role grants for this type — the most a scope entry can allow.`}),_jsxs(ResponseField,{name:`instances`,type:`array`,id:`param-instances`,children:[_jsx(_components.p,{children:`The instances, when mode is instances`}),_jsxs(Expandable,{title:`Access Scope Instance object`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:`Instance id, as returned by the data API`}),_jsx(ResponseField,{name:`actions`,type:`array`,id:`param-actions`,children:`Actions allowed on this instance. Omit for every action the member’s role allows.`}),_jsx(ResponseField,{name:`effective_actions`,type:`array`,id:`param-effective-actions`,children:`Read-only. The subset of actions the member’s CURRENT role still grants.`}),_jsxs(ResponseField,{name:`permission_level`,type:`string`,id:`param-permission-level`,children:[`Read-only. The permission level, when via_permission_level is true. One of: `,_jsx(_components.code,{children:`read`}),`, `,_jsx(_components.code,{children:`write`}),`, `,_jsx(_components.code,{children:`manage`}),`.`]}),_jsx(ResponseField,{name:`shadowed_actions`,type:`array`,id:`param-shadowed-actions`,children:`Read-only. Actions stored here that the member’s current role no longer grants.`}),_jsx(ResponseField,{name:`via_permission_level`,type:`boolean`,id:`param-via-permission-level`,children:`Read-only. The member reaches this instance through a permission level granted on it, not through this scope. May be echoed back on write; such instances are skipped.`}),_jsx(ResponseField,{name:`workspace_id`,type:`string`,id:`param-workspace-id`,children:`Parent workspace of a project instance. Required when writing a project instance.`})]})]})]})]})]})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Success (200)`,numberOfLines:`27`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`27`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Operation completed successfully\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"group_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"75bcd78140d9e42928db031f1fbb59a5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"scopes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"all\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resource_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"available_actions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"instances\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bc572b050c9920425b5fd75681eccbb2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"actions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"effective_actions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"permission_level\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"read\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"shadowed_actions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"via_permission_level\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workspace_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0fa2d21dc175adc7a003e0b37f156cb1\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Errors answer with `,_jsx(_components.code,{children:`success: false`}),`, a `,_jsx(_components.code,{children:`message`}),` and an `,_jsx(_components.code,{children:`error_code`}),`. See `,_jsx(_components.a,{href:`/features/memorylake/api-reference/errors`,children:`Error Codes`}),` for every code.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`A parameter or the body is invalid`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`The API key is missing, invalid, disabled or expired`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The key is not allowed to do this`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`The resource does not exist`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The request conflicts with the current state, e.g. a duplicate or a limit reached`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`412`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`If-Match`}),` value no longer matches: the resource changed since you read it`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The body or a parameter failed validation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsxs(_components.td,{children:[`Too many requests. Wait for the time in `,_jsx(_components.code,{children:`Retry-After`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Server-side error`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`Temporarily unavailable. Retry later`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Set Access Group Access Scope","description":"Replaces, per listed resource type, the instances the group gives its members access to","href":"/features/memorylake/api-reference/access-control/set-access-group-access-scope"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Path Parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Request Body","slug":"request-body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Errors","slug":"errors","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"20\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> PUT\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://app.memorylake.ai/openapi/memorylake/admin/v1/access-groups/7013fb5c15cfb29411f040967354b8a3/access-scope'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer sk_xxxxxx'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"reason\": \"example\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"scopes\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"mode\": \"all\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resource_type\": \"example\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"instances\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"id\": \"185afe41ca6ac4566fdc7a9adeabf5a0\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"actions\": [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"via_permission_level\": false,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"workspace_id\": \"12404b77739317d2b08fc918a95f0be9\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Success (200)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"27\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Operation completed successfully\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"group_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"75bcd78140d9e42928db031f1fbb59a5\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"scopes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"all\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"resource_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"available_actions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"example\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"instances\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"bc572b050c9920425b5fd75681eccbb2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"actions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"effective_actions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"permission_level\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"read\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"shadowed_actions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"via_permission_level\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"workspace_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0fa2d21dc175adc7a003e0b37f156cb1\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/_mintlify/custom/datacloud-924043c1/1c558f432fed73aa/hidden-docs.js"],"subdomain":"datacloud-924043c1","siteName":"MemoryLake AI","title":"Set Access Group Access Scope - MemoryLake AI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/features/memorylake/api-reference/access-control/set-access-group-access-scope","matchLevel":0},"zh":{"href":"/zh/features/memorylake/api-reference/access-control/set-access-group-access-scope","matchLevel":1}}},"lastModified":"2026-11-06T06:50:00.280Z","originalFileLocation":"features/memorylake/api-reference/access-control/set-access-group-access-scope.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Replaces, per listed resource type, the instances the group gives its members access to\">\u003cmeta data-mint-head name=\"application-name\" content=\"MemoryLake AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Set Access Group Access Scope - MemoryLake AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Replaces, per listed resource type, the instances the group gives its members access to\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MemoryLake AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/set-access-group-access-scope\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://datacloud-924043c1.mintlify.site/_mintlify/api/og/v2?division=Access+Groups\u0026amp;title=Set+Access+Group+Access+Scope\u0026amp;description=Replaces%2C+per+listed+resource+type%2C+the+instances+the+group+gives+its+members+access+to\u0026amp;theme=5e044ebec589c4295124e63e\u0026amp;signature=e602396df534110c27156e70b260dd41a3ce9aa280a7a261238455be465b8778\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Set Access Group Access Scope - MemoryLake AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Replaces, per listed resource type, the instances the group gives its members access to\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://datacloud-924043c1.mintlify.site/_mintlify/api/og/v2?division=Access+Groups\u0026amp;title=Set+Access+Group+Access+Scope\u0026amp;description=Replaces%2C+per+listed+resource+type%2C+the+instances+the+group+gives+its+members+access+to\u0026amp;theme=5e044ebec589c4295124e63e\u0026amp;signature=e602396df534110c27156e70b260dd41a3ce9aa280a7a261238455be465b8778\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MemoryLake AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E75C2A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/set-access-group-access-scope\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/features/memorylake/api-reference/access-control/set-access-group-access-scope.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/set-access-group-access-scope\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.memorylake.ai/zh/features/memorylake/api-reference/access-control/set-access-group-access-scope\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/set-access-group-access-scope\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.memorylake.ai/#organization\",\"name\":\"MemoryLake AI\",\"url\":\"https://docs.memorylake.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/datacloud-924043c1/W_-TJZhNN0WMmbCI/logo/light.svg?fit=max\u0026auto=format\u0026n=W_-TJZhNN0WMmbCI\u0026q=85\u0026s=9766e4cbaa7d674460d63cee7a88c501\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.memorylake.ai#website\",\"name\":\"MemoryLake AI\",\"url\":\"https://docs.memorylake.ai\",\"publisher\":{\"@id\":\"https://docs.memorylake.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/set-access-group-access-scope#webpage\",\"url\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/set-access-group-access-scope\",\"name\":\"Set Access Group Access Scope\",\"description\":\"Replaces, per listed resource type, the instances the group gives its members access to\",\"dateModified\":\"2026-11-06T06:50:00.280Z\",\"isPartOf\":{\"@id\":\"https://docs.memorylake.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/set-access-group-access-scope#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/set-access-group-access-scope#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"MemoryLake API\",\"item\":\"https://docs.memorylake.ai/features/memorylake/api-reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Access Control\",\"item\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Access Groups\",\"item\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/list-access-groups\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Set Access Group Access Scope\",\"item\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/set-access-group-access-scope\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/set-access-group-access-scope#article\",\"headline\":\"Set Access Group Access Scope\",\"name\":\"Set Access Group Access Scope\",\"description\":\"Replaces, per listed resource type, the instances the group gives its members access to\",\"url\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/set-access-group-access-scope\",\"mainEntityOfPage\":{\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/set-access-group-access-scope#webpage\"},\"dateModified\":\"2026-11-06T06:50:00.280Z\",\"publisher\":{\"@id\":\"https://docs.memorylake.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.memorylake.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MemoryLake AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"MemoryLake AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/features/memorylake/api-reference/access-control/set-access-group-access-scope.md","siteName":"MemoryLake AI","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/overview"}]},{"tab":"API reference","groups":[{"group":"API documentation","pages":[]},{"group":"MemoryLake API","pages":[{"title":"MemoryLake API Reference","href":"/features/memorylake/api-reference/overview"},{"title":"API Authentication","href":"/features/memorylake/api-reference/authentication"},{"group":"Core Memory Operations","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/core-memory/overview"},{"title":"Import Documents","href":"/features/memorylake/api-reference/v3-documents/import-documents"},{"title":"Append Conversation Message","href":"/features/memorylake/api-reference/conversations/create-message"},{"title":"Search Memories","href":"/features/memorylake/api-reference/search/search-memories"}]},{"group":"Library","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/library/overview"},{"title":"Get Item","href":"/features/memorylake/api-reference/library/get-item"},{"title":"List Items","href":"/features/memorylake/api-reference/library/list-items"},{"title":"Download Item","href":"/features/memorylake/api-reference/library/download-item"},{"title":"Create Upload","href":"/features/memorylake/api-reference/library/create-upload"},{"title":"Create Item","href":"/features/memorylake/api-reference/library/create-item"},{"title":"Delete Item","href":"/features/memorylake/api-reference/library/delete-item"},{"title":"Batch Delete Items","href":"/features/memorylake/api-reference/library/batch-delete-items"},{"title":"Set Item Xattrs","href":"/features/memorylake/api-reference/library/set-item-xattrs"},{"title":"Delete Item Xattrs","href":"/features/memorylake/api-reference/library/delete-item-xattrs"}]},{"group":"Workspaces","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/workspaces/overview"},{"title":"List Workspaces","href":"/features/memorylake/api-reference/workspaces/list-workspaces"},{"title":"Create Workspace","href":"/features/memorylake/api-reference/workspaces/create-workspace"},{"title":"Get Workspace","href":"/features/memorylake/api-reference/workspaces/get-workspace"},{"title":"Update Workspace","href":"/features/memorylake/api-reference/workspaces/update-workspace"},{"title":"Delete Workspace","href":"/features/memorylake/api-reference/workspaces/delete-workspace"},{"title":"List Workspace Facts","href":"/features/memorylake/api-reference/facts/list-workspace-facts"},{"group":"Conversations","pages":[{"title":"List Conversations","href":"/features/memorylake/api-reference/conversations/list-conversations"},{"title":"Create Conversation","href":"/features/memorylake/api-reference/conversations/create-conversation"},{"title":"Get Conversation","href":"/features/memorylake/api-reference/conversations/get-conversation"},{"title":"Delete Conversation","href":"/features/memorylake/api-reference/conversations/delete-conversation"},{"title":"List Messages","href":"/features/memorylake/api-reference/conversations/list-messages"},{"title":"Batch Get Messages","href":"/features/memorylake/api-reference/conversations/batch-get-messages"}]},{"group":"IM Integrations","pages":[{"title":"List IM Integrations","href":"/features/memorylake/api-reference/integrations/list-integrations"},{"title":"Create IM Integration","href":"/features/memorylake/api-reference/integrations/create-integration"},{"title":"Get IM Integration","href":"/features/memorylake/api-reference/integrations/get-integration"},{"title":"Update IM Integration","href":"/features/memorylake/api-reference/integrations/update-integration"},{"title":"Delete IM Integration","href":"/features/memorylake/api-reference/integrations/delete-integration"}]}]},{"group":"Actors","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/actors/overview"},{"title":"List Actors","href":"/features/memorylake/api-reference/actors/list-actors"},{"title":"Create Actor","href":"/features/memorylake/api-reference/actors/create-actor"},{"title":"Get Actor","href":"/features/memorylake/api-reference/actors/get-actor"},{"title":"Update Actor","href":"/features/memorylake/api-reference/actors/update-actor"},{"title":"Delete Actor","href":"/features/memorylake/api-reference/actors/delete-actor"},{"title":"List Workspace Actors","href":"/features/memorylake/api-reference/actors/list-workspace-actors"},{"title":"Bind Actor to Workspace","href":"/features/memorylake/api-reference/actors/bind-actor"},{"title":"Unbind Actor from Workspace","href":"/features/memorylake/api-reference/actors/unbind-actor"},{"group":"Actor Facts","pages":[{"title":"List Actor Facts","href":"/features/memorylake/api-reference/facts/list-actor-facts"},{"title":"Add Actor Facts","href":"/features/memorylake/api-reference/facts/add-actor-facts"},{"title":"Get Actor Fact","href":"/features/memorylake/api-reference/facts/get-actor-fact"},{"title":"Get Actor Fact Change History","href":"/features/memorylake/api-reference/facts/get-actor-fact-trace"},{"title":"Update Actor Fact","href":"/features/memorylake/api-reference/facts/update-actor-fact"},{"title":"Forget Actor Fact","href":"/features/memorylake/api-reference/facts/forget-actor-fact"},{"title":"Batch Forget Actor Facts","href":"/features/memorylake/api-reference/facts/batch-forget-actor-facts"}]},{"group":"Memory Conflicts","pages":[{"title":"List Actor Memory Conflicts","href":"/features/memorylake/api-reference/v3-conflicts/list-actor-conflicts"},{"title":"Get Actor Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/get-actor-conflict"},{"title":"Resolve Actor Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/resolve-actor-conflict"}]},{"group":"Memory Settings","pages":[{"title":"Get Actor Memory Settings","href":"/features/memorylake/api-reference/memory-settings/get-actor-memory-settings"},{"title":"Update Actor Memory Settings","href":"/features/memorylake/api-reference/memory-settings/update-actor-memory-settings"},{"title":"Draft Actor Fact Instruction","href":"/features/memorylake/api-reference/memory-settings/draft-actor-fact-instruction"}]}]},{"group":"Agents","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/agents/overview"},{"title":"A2A Integration","href":"/features/memorylake/api-reference/a2a/overview"},{"title":"List Open Data Collections","href":"/features/memorylake/api-reference/a2a/list-open-data-collections"},{"title":"List Agents","href":"/features/memorylake/api-reference/agents/list-agents"},{"title":"Create Agent","href":"/features/memorylake/api-reference/agents/create-agent"},{"title":"Get Agent","href":"/features/memorylake/api-reference/agents/get-agent"},{"title":"Update Agent","href":"/features/memorylake/api-reference/agents/update-agent"},{"title":"Delete Agent","href":"/features/memorylake/api-reference/agents/delete-agent"},{"title":"Fork Agent","href":"/features/memorylake/api-reference/agents/fork-agent"},{"group":"Versions","pages":[{"title":"List Agent Versions","href":"/features/memorylake/api-reference/agents/list-agent-versions"},{"title":"Create Agent Version","href":"/features/memorylake/api-reference/agents/create-agent-version"},{"title":"Get Agent Version","href":"/features/memorylake/api-reference/agents/get-agent-version"}]},{"title":"List Workspace Agents","href":"/features/memorylake/api-reference/agents/list-workspace-agents"},{"title":"Bind Agent to Workspace","href":"/features/memorylake/api-reference/agents/bind-agent"},{"title":"Unbind Agent from Workspace","href":"/features/memorylake/api-reference/agents/unbind-agent"},{"group":"Agent Facts","pages":[{"title":"List Agent Facts","href":"/features/memorylake/api-reference/facts/list-agent-facts"},{"title":"Add Agent Facts","href":"/features/memorylake/api-reference/facts/add-agent-facts"},{"title":"Get Agent Fact","href":"/features/memorylake/api-reference/facts/get-agent-fact"},{"title":"Get Agent Fact Change History","href":"/features/memorylake/api-reference/facts/get-agent-fact-trace"},{"title":"Update Agent Fact","href":"/features/memorylake/api-reference/facts/update-agent-fact"},{"title":"Forget Agent Fact","href":"/features/memorylake/api-reference/facts/forget-agent-fact"},{"title":"Batch Forget Agent Facts","href":"/features/memorylake/api-reference/facts/batch-forget-agent-facts"}]},{"group":"Memory Conflicts","pages":[{"title":"List Agent Memory Conflicts","href":"/features/memorylake/api-reference/v3-conflicts/list-agent-conflicts"},{"title":"Get Agent Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/get-agent-conflict"},{"title":"Resolve Agent Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/resolve-agent-conflict"}]},{"group":"Memory Settings","pages":[{"title":"Get Agent Memory Settings","href":"/features/memorylake/api-reference/memory-settings/get-agent-memory-settings"},{"title":"Update Agent Memory Settings","href":"/features/memorylake/api-reference/memory-settings/update-agent-memory-settings"},{"title":"Draft Agent Fact Instruction","href":"/features/memorylake/api-reference/memory-settings/draft-agent-fact-instruction"}]}]},{"group":"Skills","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/skills/overview"},{"title":"Request Package Upload","href":"/features/memorylake/api-reference/skills/create-package-upload"},{"title":"List Skills","href":"/features/memorylake/api-reference/skills/list-skills"},{"title":"Create Skill","href":"/features/memorylake/api-reference/skills/create-skill"},{"title":"Get Skill","href":"/features/memorylake/api-reference/skills/get-skill"},{"title":"Update Skill","href":"/features/memorylake/api-reference/skills/update-skill"},{"title":"Delete Skill","href":"/features/memorylake/api-reference/skills/delete-skill"},{"group":"Versions","pages":[{"title":"List Skill Versions","href":"/features/memorylake/api-reference/skills/list-skill-versions"},{"title":"Publish Skill Version","href":"/features/memorylake/api-reference/skills/create-skill-version"},{"title":"Get Skill Version","href":"/features/memorylake/api-reference/skills/get-skill-version"}]}]},{"group":"Boundaries","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/boundaries/overview"},{"title":"List Boundaries","href":"/features/memorylake/api-reference/boundaries/list-boundaries"},{"title":"Create Boundary","href":"/features/memorylake/api-reference/boundaries/create-boundary"},{"title":"Get Boundary","href":"/features/memorylake/api-reference/boundaries/get-boundary"},{"title":"Update Boundary","href":"/features/memorylake/api-reference/boundaries/update-boundary"},{"title":"Delete Boundary","href":"/features/memorylake/api-reference/boundaries/delete-boundary"}]},{"group":"Projects","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/v3-projects/overview"},{"title":"List Projects","href":"/features/memorylake/api-reference/v3-projects/list-projects"},{"title":"Create Project","href":"/features/memorylake/api-reference/v3-projects/create-project"},{"title":"Get Project","href":"/features/memorylake/api-reference/v3-projects/get-project"},{"title":"Update Project","href":"/features/memorylake/api-reference/v3-projects/update-project"},{"title":"Delete Project","href":"/features/memorylake/api-reference/v3-projects/delete-project"},{"group":"Documents","pages":[{"title":"List Documents","href":"/features/memorylake/api-reference/v3-documents/list-documents"},{"title":"Get Document","href":"/features/memorylake/api-reference/v3-documents/get-document"},{"title":"Download Document","href":"/features/memorylake/api-reference/v3-documents/download-document"},{"title":"Delete Documents","href":"/features/memorylake/api-reference/v3-documents/delete-documents"}]},{"group":"Project Facts","pages":[{"title":"List Facts","href":"/features/memorylake/api-reference/facts/list-facts"},{"title":"Add Facts","href":"/features/memorylake/api-reference/facts/add-facts"},{"title":"Get Fact","href":"/features/memorylake/api-reference/facts/get-fact"},{"title":"Get Fact Change History","href":"/features/memorylake/api-reference/facts/get-fact-trace"},{"title":"Update Fact","href":"/features/memorylake/api-reference/facts/update-fact"},{"title":"Forget Fact","href":"/features/memorylake/api-reference/facts/forget-fact"},{"title":"Batch Forget Facts","href":"/features/memorylake/api-reference/facts/batch-forget-facts"}]},{"group":"Memory Conflicts","pages":[{"title":"List Memory Conflicts","href":"/features/memorylake/api-reference/v3-conflicts/list-conflicts"},{"title":"Get Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/get-conflict"},{"title":"Resolve Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/resolve-conflict"}]},{"group":"Memory Settings","pages":[{"title":"Get Project Memory Settings","href":"/features/memorylake/api-reference/memory-settings/get-project-memory-settings"},{"title":"Update Project Memory Settings","href":"/features/memorylake/api-reference/memory-settings/update-project-memory-settings"},{"title":"Draft Project Fact Instruction","href":"/features/memorylake/api-reference/memory-settings/draft-project-fact-instruction"}]}]},{"group":"Databases","tag":"Preview","pages":[{"title":"Databases API Overview","href":"/features/memorylake/api-reference/database/overview"},{"group":"Connections","pages":[{"title":"List Database Connections","href":"/features/memorylake/api-reference/database/connections/list-database-connections"},{"title":"Test Database Connectivity","href":"/features/memorylake/api-reference/database/connections/test-database-connectivity"},{"title":"Create Database Connection","href":"/features/memorylake/api-reference/database/connections/create-database-connection"},{"title":"Get Database Connection","href":"/features/memorylake/api-reference/database/connections/get-database-connection"},{"title":"Update Database Connection","href":"/features/memorylake/api-reference/database/connections/update-database-connection"},{"title":"Delete Database Connection","href":"/features/memorylake/api-reference/database/connections/delete-database-connection"},{"title":"List Connection Schemas","href":"/features/memorylake/api-reference/database/connections/list-connection-schemas"}]},{"group":"Datasources","pages":[{"title":"List Datasources","href":"/features/memorylake/api-reference/database/datasources/list-datasources"},{"title":"Create Datasource","href":"/features/memorylake/api-reference/database/datasources/create-datasource"},{"title":"Get Datasource","href":"/features/memorylake/api-reference/database/datasources/get-datasource"},{"title":"Update Datasource","href":"/features/memorylake/api-reference/database/datasources/update-datasource"},{"title":"Delete Datasource","href":"/features/memorylake/api-reference/database/datasources/delete-datasource"},{"title":"Build Datasource Index","href":"/features/memorylake/api-reference/database/datasources/build-datasource-index"},{"title":"List Tables","href":"/features/memorylake/api-reference/database/datasources/list-tables"},{"title":"List Columns","href":"/features/memorylake/api-reference/database/datasources/list-columns"},{"title":"Edit Schema Metadata","href":"/features/memorylake/api-reference/database/datasources/edit-schema-metadata"}]},{"group":"Analysis Models","pages":[{"title":"List Analysis Model Templates","href":"/features/memorylake/api-reference/database/analysis-models/list-analysis-model-templates"},{"title":"List Analysis Models","href":"/features/memorylake/api-reference/database/analysis-models/list-analysis-models"},{"title":"Create Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/create-analysis-model"},{"title":"Get Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/get-analysis-model"},{"title":"Update Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/update-analysis-model"},{"title":"Delete Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/delete-analysis-model"},{"title":"List Knowledge Entries","href":"/features/memorylake/api-reference/database/analysis-models/list-knowledge-entries"},{"title":"Add Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/add-knowledge-entry"},{"title":"Get Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/get-knowledge-entry"},{"title":"Edit Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/edit-knowledge-entry"},{"title":"Disable or Restore Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/disable-knowledge-entry"},{"title":"Delete Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/delete-knowledge-entry"}]},{"group":"Database Memories","pages":[{"title":"List Database Memories","href":"/features/memorylake/api-reference/database/database-memories/list-database-memories"},{"title":"Create Database Memory","href":"/features/memorylake/api-reference/database/database-memories/create-database-memory"},{"title":"Get Database Memory","href":"/features/memorylake/api-reference/database/database-memories/get-database-memory"},{"title":"Update Database Memory","href":"/features/memorylake/api-reference/database/database-memories/update-database-memory"},{"title":"Delete Database Memory","href":"/features/memorylake/api-reference/database/database-memories/delete-database-memory"},{"title":"Reload Database Memory","href":"/features/memorylake/api-reference/database/database-memories/reload-database-memory"},{"title":"Generate Database Memory Instruction","href":"/features/memorylake/api-reference/database/database-memories/generate-database-memory-instruction"}]},{"group":"Database Access","pages":[{"title":"Get Database Resource Access","href":"/features/memorylake/api-reference/access-control/get-database-resource-access"},{"title":"List Database Permission Level Options","href":"/features/memorylake/api-reference/access-control/list-database-permission-level-options"},{"title":"Set Database Permission Level","href":"/features/memorylake/api-reference/access-control/set-database-permission-level"},{"title":"Grant Database Access","href":"/features/memorylake/api-reference/access-control/grant-database-scope"},{"title":"Revoke Database Access","href":"/features/memorylake/api-reference/access-control/revoke-database-scope"}]}]},{"group":"Team","pages":[{"title":"Get Team","href":"/features/memorylake/api-reference/team/get-team"},{"title":"Rename Team","href":"/features/memorylake/api-reference/team/update-team"},{"title":"Create Team","href":"/features/memorylake/api-reference/team/create-team"},{"title":"Transfer Ownership","href":"/features/memorylake/api-reference/team/transfer-ownership"},{"title":"Delete Team","href":"/features/memorylake/api-reference/team/delete-team"}]},{"group":"Members","pages":[{"title":"List Members","href":"/features/memorylake/api-reference/members/list-members"},{"title":"Get Member","href":"/features/memorylake/api-reference/members/get-member"},{"title":"Create Virtual Member","href":"/features/memorylake/api-reference/members/create-member"},{"title":"Update Member","href":"/features/memorylake/api-reference/members/update-member"},{"title":"Remove Member","href":"/features/memorylake/api-reference/members/remove-member"},{"title":"List Roles","href":"/features/memorylake/api-reference/members/list-roles"},{"title":"Get Member Access Scope","href":"/features/memorylake/api-reference/members/get-member-access-scope"},{"title":"Set Member Access Scope","href":"/features/memorylake/api-reference/members/set-member-access-scope"},{"title":"Get Member Effective Permissions","href":"/features/memorylake/api-reference/members/get-member-effective-permissions"}]},{"group":"Invitations","pages":[{"title":"List Invitations","href":"/features/memorylake/api-reference/invitations/list-invitations"},{"title":"Create Invitation","href":"/features/memorylake/api-reference/invitations/create-invitation"},{"title":"Get Invitation","href":"/features/memorylake/api-reference/invitations/get-invitation"},{"title":"Revoke Invitation","href":"/features/memorylake/api-reference/invitations/revoke-invitation"}]},{"group":"API Keys","pages":[{"title":"List API Keys","href":"/features/memorylake/api-reference/api-keys/list-api-keys"},{"title":"Create API Key","href":"/features/memorylake/api-reference/api-keys/create-api-key"},{"title":"Get API Key","href":"/features/memorylake/api-reference/api-keys/get-api-key"},{"title":"Update API Key","href":"/features/memorylake/api-reference/api-keys/update-api-key"},{"title":"Rotate API Key","href":"/features/memorylake/api-reference/api-keys/rotate-api-key"},{"title":"Revoke API Key","href":"/features/memorylake/api-reference/api-keys/revoke-api-key"}]},{"group":"Authorized Apps","pages":[{"title":"List My Authorized Apps","href":"/features/memorylake/api-reference/authorized-apps/list-my-authorized-apps"},{"title":"Revoke Authorized App","href":"/features/memorylake/api-reference/authorized-apps/revoke-my-authorized-app"}]},{"group":"Webhooks","pages":[{"title":"List Webhooks","href":"/features/memorylake/api-reference/webhooks/list-webhooks"},{"title":"Add Webhook","href":"/features/memorylake/api-reference/webhooks/create-webhook"},{"title":"Get Webhook","href":"/features/memorylake/api-reference/webhooks/get-webhook"},{"title":"Update Webhook","href":"/features/memorylake/api-reference/webhooks/update-webhook"},{"title":"Delete Webhook","href":"/features/memorylake/api-reference/webhooks/delete-webhook"},{"title":"Enable Webhook","href":"/features/memorylake/api-reference/webhooks/enable-webhook"},{"title":"Disable Webhook","href":"/features/memorylake/api-reference/webhooks/disable-webhook"},{"title":"Rotate Signing Secret","href":"/features/memorylake/api-reference/webhooks/rotate-webhook-secret"},{"title":"Send Test Event","href":"/features/memorylake/api-reference/webhooks/send-webhook-test-event"},{"title":"List Event Types","href":"/features/memorylake/api-reference/webhooks/list-webhook-event-types"},{"title":"List Deliveries","href":"/features/memorylake/api-reference/webhooks/list-webhook-deliveries"},{"title":"Get Delivery","href":"/features/memorylake/api-reference/webhooks/get-webhook-delivery"},{"title":"Resend Delivery","href":"/features/memorylake/api-reference/webhooks/resend-webhook-delivery"}]},{"group":"Access Control","pages":[{"title":"Access Control","href":"/features/memorylake/api-reference/access-control/overview"},{"title":"Get Permission Catalog","href":"/features/memorylake/api-reference/access-control/get-permission-catalog"},{"title":"List My Permissions","href":"/features/memorylake/api-reference/access-control/list-my-permissions"},{"group":"Roles","pages":[{"title":"Get Role","href":"/features/memorylake/api-reference/access-control/get-role"},{"title":"Create Custom Role","href":"/features/memorylake/api-reference/access-control/create-role"},{"title":"Update Custom Role","href":"/features/memorylake/api-reference/access-control/update-role"},{"title":"Delete Custom Role","href":"/features/memorylake/api-reference/access-control/delete-role"},{"title":"Get Role Access Scope","href":"/features/memorylake/api-reference/access-control/get-role-access-scope"},{"title":"Set Role Access Scope","href":"/features/memorylake/api-reference/access-control/set-role-access-scope"}]},{"group":"Permission Rules","pages":[{"title":"List Permission Rules","href":"/features/memorylake/api-reference/access-control/list-permission-rules"},{"title":"Create Permission Rules","href":"/features/memorylake/api-reference/access-control/create-permission-rules"},{"title":"Delete Permission Rule","href":"/features/memorylake/api-reference/access-control/delete-permission-rule"}]},{"group":"Access Groups","pages":[{"title":"List Access Groups","href":"/features/memorylake/api-reference/access-control/list-access-groups"},{"title":"Create Access Group","href":"/features/memorylake/api-reference/access-control/create-access-group"},{"title":"Get Access Group","href":"/features/memorylake/api-reference/access-control/get-access-group"},{"title":"Update Access Group","href":"/features/memorylake/api-reference/access-control/update-access-group"},{"title":"Delete Access Group","href":"/features/memorylake/api-reference/access-control/delete-access-group"},{"title":"List Access Group Members","href":"/features/memorylake/api-reference/access-control/list-access-group-members"},{"title":"Add Access Group Members","href":"/features/memorylake/api-reference/access-control/add-access-group-members"},{"title":"Remove Access Group Member","href":"/features/memorylake/api-reference/access-control/remove-access-group-member"},{"title":"Set Access Group Permissions","href":"/features/memorylake/api-reference/access-control/set-access-group-permissions"},{"title":"Get Access Group Access Scope","description":"Returns, per resource type, the instances the group gives its members access to","href":"/features/memorylake/api-reference/access-control/get-access-group-access-scope"},{"title":"Set Access Group Access Scope","href":"/features/memorylake/api-reference/access-control/set-access-group-access-scope"},{"title":"Get Access Group Effective Permissions","description":"Returns everything the group grants, each permission with where it comes from (the base role or base group, or the group's own list), plus the instances it gives access to","href":"/features/memorylake/api-reference/access-control/get-access-group-effective-permissions"}]},{"group":"Resource Access","pages":[{"title":"Get Resource Access","href":"/features/memorylake/api-reference/access-control/get-resource-access"},{"title":"List Permission Level Options","href":"/features/memorylake/api-reference/access-control/list-permission-level-options"},{"title":"Set Permission Level","href":"/features/memorylake/api-reference/access-control/set-permission-level"},{"title":"Grant Access","href":"/features/memorylake/api-reference/access-control/grant-scope"},{"title":"Revoke Access","href":"/features/memorylake/api-reference/access-control/revoke-scope"}]}]},{"group":"Usage \u0026 Audit Logs","pages":[{"title":"Get Usage","href":"/features/memorylake/api-reference/usage/get-usage"},{"title":"Get Usage Summary","href":"/features/memorylake/api-reference/usage/get-usage-summary"},{"title":"List Usage Records","href":"/features/memorylake/api-reference/usage/list-usage-records"},{"title":"List Audit Logs","href":"/features/memorylake/api-reference/usage/list-audit-logs"}]},{"group":"Billing","pages":[{"group":"Subscription","pages":[{"title":"Get Subscription","href":"/features/memorylake/api-reference/billing/get-subscription"},{"title":"Preview Plan Change","href":"/features/memorylake/api-reference/billing/preview-plan-change"}]},{"group":"Credits","pages":[{"title":"Get Credit Balance","href":"/features/memorylake/api-reference/billing/get-credit-balance"},{"title":"List Credit Transactions","href":"/features/memorylake/api-reference/billing/list-credit-transactions"},{"title":"Get Low-Balance Alert","href":"/features/memorylake/api-reference/billing/get-balance-alert"},{"title":"Set Low-Balance Alert","href":"/features/memorylake/api-reference/billing/set-balance-alert"},{"title":"Reset Low-Balance Alert","href":"/features/memorylake/api-reference/billing/reset-balance-alert"},{"title":"List Low-Balance Alert Events","href":"/features/memorylake/api-reference/billing/list-balance-alert-events"},{"title":"Get Auto Top-Up","href":"/features/memorylake/api-reference/billing/get-auto-topup"},{"title":"List Auto Top-Up Attempts","href":"/features/memorylake/api-reference/billing/list-auto-topup-attempts"}]},{"group":"Orders","pages":[{"title":"List Orders","href":"/features/memorylake/api-reference/billing/list-orders"},{"title":"Get Order","href":"/features/memorylake/api-reference/billing/get-order"}]},{"group":"Payment Methods","pages":[{"title":"List Payment Methods","href":"/features/memorylake/api-reference/billing/list-payment-methods"}]},{"group":"Invoices","pages":[{"title":"List Invoices","href":"/features/memorylake/api-reference/billing/list-invoices"},{"title":"Get Invoice","href":"/features/memorylake/api-reference/billing/get-invoice"},{"title":"Download Invoice PDF","href":"/features/memorylake/api-reference/billing/download-invoice-pdf"},{"title":"Get Billing Details","href":"/features/memorylake/api-reference/billing/get-billing-details"},{"title":"Set Billing Details","href":"/features/memorylake/api-reference/billing/set-billing-details"}]}]},{"group":"Deprecated","pages":[{"group":"Projects","pages":[{"title":"List Projects","href":"/features/memorylake/api-reference/projects/list-projects"},{"title":"Create Project","href":"/features/memorylake/api-reference/projects/create-project"},{"title":"Get Project","href":"/features/memorylake/api-reference/projects/get-project"},{"title":"Update Project","href":"/features/memorylake/api-reference/projects/update-project"},{"title":"Delete Project","href":"/features/memorylake/api-reference/projects/delete-project"},{"title":"Search Memories \u0026 Documents in Project","href":"/features/memorylake/api-reference/projects/search-project"}]},{"group":"Documents","pages":[{"title":"List Documents","href":"/features/memorylake/api-reference/memories/list-documents"},{"title":"Get Document","href":"/features/memorylake/api-reference/memories/get-document"},{"title":"Add Documents","href":"/features/memorylake/api-reference/memories/add-document"},{"title":"Remove Documents","href":"/features/memorylake/api-reference/memories/remove-documents"},{"title":"Search Documents","href":"/features/memorylake/api-reference/memories/search-documents"},{"title":"Download Document","href":"/features/memorylake/api-reference/memories/download-document"}]},{"group":"Memories","pages":[{"title":"Add Memory","href":"/features/memorylake/api-reference/memories/add-memory"},{"title":"List Memories","href":"/features/memorylake/api-reference/memories/list-memories"},{"title":"Get Memory","href":"/features/memorylake/api-reference/memories/get-memory"},{"title":"Get Memory Trace","href":"/features/memorylake/api-reference/memories/get-memory-trace"},{"title":"Search Memories","href":"/features/memorylake/api-reference/memories/search-memories"},{"title":"Forget Memory","href":"/features/memorylake/api-reference/memories/forget-memory"},{"title":"List Memory Conflicts","href":"/features/memorylake/api-reference/memories/list-memory-conflicts"},{"title":"Get Memory Conflict","href":"/features/memorylake/api-reference/memories/get-memory-conflict"},{"title":"Resolve Memory Conflict","href":"/features/memorylake/api-reference/memories/resolve-memory-conflict"}]}]},{"title":"Error Codes \u0026 Handling","href":"/features/memorylake/api-reference/errors"},{"title":"Rate Limiting \u0026 Quotas","href":"/features/memorylake/api-reference/rate-limits"}]},{"group":"Memory Router API","pages":[{"title":"Memory Router API","href":"/features/memory-router/api-reference/overview"},{"title":"Chat Completions","href":"/features/memory-router/api-reference/chat-completions"},{"title":"Responses","href":"/features/memory-router/api-reference/responses"},{"title":"Embeddings","href":"/features/memory-router/api-reference/embeddings"},{"title":"Images","href":"/features/memory-router/api-reference/images"},{"title":"Messages","href":"/features/memory-router/api-reference/messages"},{"title":"List Models","href":"/features/memory-router/api-reference/list-models"}]}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/features/memorylake/api-reference/access-control/set-access-group-access-scope"}]}]},"basePath":"","title":"Set Access Group Access Scope - MemoryLake AI","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["2b790eda92"],"chunks":["ApiExamples-gah5G0c1.js","usePlaygroundInputsStore-DMbftGRK.js","shallow-BPuQ-dV8.js","utils-DINdUa17.js","utils-cjri0g4r.js","isEqual-Du6c450V.js","_Uint8Array-BFUkDgJK.js","isObject-FP1Yky1u.js","CodeSnippets-BSVM0Ibi.js","CodeSnippet-BtGQRZnK.js","snippetPresets-CbOVSLWB.js","style-to-object-BY3JEAdk.js","use-playground-group-access-98JyaSW7.js","cloneDeep-BldndzCM.js","v4-DIgz8zy6.js"]}