Skip to main content
Uploads create folders on demand, so this is only necessary when the access control has to be set before anything lands in the folder.

Parameters

Pass either name or path, not both. path can’t be combined with parentId or parentPath, which would make the destination ambiguous.

Returns

Access control

Every asset in the folder inherits this, as does every subfolder created beneath it.
See Folders & Access for the full model.