CMS
English
cURL
curl --request PATCH \ --url https://api.hubapi.com/files/v3/folders/{folderId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "parentFolderId": 123, "name": "<string>" }'
{ "createdAt": "2023-11-07T05:31:56Z", "archivedAt": "2023-11-07T05:31:56Z", "path": "<string>", "archived": true, "parentFolderId": "<string>", "name": "<string>", "id": "<string>", "updatedAt": "2023-11-07T05:31:56Z" }
Update a folder’s properties, identified by folder ID.
files
The access token received from the authorization server in the OAuth 2.0 flow.
Object for updating folders.
successful operation
The response is of type object.
object
Was this page helpful?