import { setItemAccess } from "@esri/arcgis-rest-portal";//setItemAccess({ id: "abc123", access: "public", // 'org' || 'private' authentication: session}) Copy
import { setItemAccess } from "@esri/arcgis-rest-portal";//setItemAccess({ id: "abc123", access: "public", // 'org' || 'private' authentication: session})
Change who is able to access an item.
Options for the request.
A Promise that will resolve with the data from the response.
Change who is able to access an item.