PUT /openapi/memorylake/admin/v1/members/{principal_id}/access-scope
Replaces the scope of each listed resource type. A scope limits a member; it never grants more than the member’s role allows. Project instances need their workspace_id. A restricted type must leave the member at least one reachable instance.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:member:set_scope
Changes that give someone an admin role, or that reduce what an admin can reach, also require the team owner or an admin.
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.
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.