PUT /openapi/memorylake/admin/v1/roles/{role_key}/access-scope
Replaces the scope of each listed resource type for everyone holding the role. A scope limits; it never grants more than the role allows. Applies to tenant_admin, tenant_member and custom roles — the owner role cannot be limited (409). Project instances need their workspace_id.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:policy:manage
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.