Update properties of file by ID.
Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
ID of file to update
Object for updating files.
PUBLIC_INDEXABLE: File is publicly accessible by anyone who has the URL. Search engines can index the file. PUBLIC_NOT_INDEXABLE: File is publicly accessible by anyone who has the URL. Search engines can't index the file. PRIVATE: File is NOT publicly accessible. Requires a signed URL to see content. Search engines can't index the file.
HIDDEN_INDEXABLE, HIDDEN_NOT_INDEXABLE, HIDDEN_PRIVATE, HIDDEN_SENSITIVE, PRIVATE, PUBLIC_INDEXABLE, PUBLIC_NOT_INDEXABLE, SENSITIVE Mark whether the file should be used in new content or not.
New name. If specified the folder's name and fullPath will change. All children of the folder will be updated accordingly.
New parent folderId. If changed, the folder and all it's children will be moved into the specified folder. parentFolderId and parentFolderPath cannot be specified at the same time.
Folder path where the file should be moved to. folderId and folderPath parameters cannot be set at the same time.
successful operation
File
PUBLIC_INDEXABLE: File is publicly accessible by anyone who has the URL. Search engines can index the file. PUBLIC_NOT_INDEXABLE: File is publicly accessible by anyone who has the URL. Search engines can't index the file. PRIVATE: File is NOT publicly accessible. Requires a signed URL to see content. Search engines can't index the file.
HIDDEN_INDEXABLE, HIDDEN_NOT_INDEXABLE, HIDDEN_PRIVATE, HIDDEN_SENSITIVE, PRIVATE, PUBLIC_INDEXABLE, PUBLIC_NOT_INDEXABLE, SENSITIVE Marks whether the folder is deleted or not.
Timestamp of folder creation.
File ID.
Timestamp of the latest update to the folder.
Timestamp of folder deletion.
Default hosting URL of the file. This will use one of HubSpot's provided URLs to serve the file.
Encoding of the file.
Extension of the requested file.
The MD5 hash of the file.
For image and video files. The height of the file.
Mark whether the file should be used in new content or not.
New name. If specified the folder's name and fullPath will change. All children of the folder will be updated accordingly.
New parent folderId. If changed, the folder and all it's children will be moved into the specified folder. parentFolderId and parentFolderPath cannot be specified at the same time.
Path of the folder in the file manager.
Size in bytes of the requested file.
CONTENT, CONVERSATIONS, FORMS, UI_EXTENSIONS, UNKNOWN Type of the file. Can be IMG, DOCUMENT, AUDIO, MOVIE, or OTHER.
URL to download the new file from.
For image and video files. The width of the file.