Hello everyone,
Is there an option available to configure user permissions (such as determining who can read files, who can delete files, and who should not have access to the files) when uploading files to the file manager through the API?
Hello everyone,
Is there an option available to configure user permissions (such as determining who can read files, who can delete files, and who should not have access to the files) when uploading files to the file manager through the API?
Hi @hashnoxt
The ability to set granualr permissions on file manager is relatively new. Since Jan 2023, Professional Hub customers have been able to use teams to control which users can access which folders within file manager, or file manager in general.
You can read more about this here: https://community.hubspot.com/t5/HubSpot-Ideas/Restrict-access-to-File-Manager/idi-p/296588
I would expect that files uploaded via API would fully honour these settings but, looking at the API documentation, it doesnt appear that you can set these parameters when creating a folder, or uploading file, via API. There is usually a delay between a feature being released and it begin made acccisble by API, so it may be some time before we see this added - and there is no guarentee that it will be until confirmed by HubSpot.
Hope this helps.