younifyd
Menu

Patch /files/v3/folders/{folder Id} Update Properties

Update folder properties by folder ID

PATCH/files/v3/folders/{folderId}

Use it in a workflow

  1. Add a step and choose the HubSpot connector.
  2. Pick the Patch /files/v3/folders/{folder Id} Update Properties action (under Files).
  3. Fill in the fields below, then reference the result from later steps as {{patchFilesV3FoldersFolderIdUpdateProperties.response.data}}.

Request

Path parameters

folderIdstringrequired

ID of folder to update

Request body

Enter the body as JSON in the step's Body field.

namestring

New name. If specified the folder's name and fullPath will change. All children of the folder will be updated accordingly.

parentFolderIdinteger (int64)

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.

json
{
  "name": "string",
  "parentFolderId": 0
}

Response

Returns 200 with an object. Read it in later steps with {{patchFilesV3FoldersFolderIdUpdateProperties.response.data.<field>}}.

archivedboolean

Marks whether the folder is deleted or not.

archivedAtstring (date-time)

Timestamp of folder deletion.

createdAtstring (date-time)

Timestamp of folder creation.

idstring

ID of the folder.

namestring

Name of the folder.

parentFolderIdstring

ID of the parent folder.

pathstring

Path of the folder in the file manager.

updatedAtstring (date-time)

Timestamp of the latest update to the folder.

json
{
  "archived": false,
  "createdAt": "2025-01-01T00:00:00Z",
  "id": "string",
  "updatedAt": "2025-01-01T00:00:00Z",
  "archivedAt": "2025-01-01T00:00:00Z",
  "name": "string",
  "parentFolderId": "string",
  "path": "string"
}

Need more? See the HubSpot guide for connection setup and behaviour shared by every action.

Patch /files/v3/folders/{folder Id} Update Properties — HubSpot — Documentation