Add a Folder

Summary

Creates a new empty folder at the specified path.

Endpoint

POST https://mysite.files.com/api/v2/resources

Replace mysite.files.com with your site address.

Request Parameters

NameData TypeDescription
pathstringFull path to the new folder, including the name of the new folder
namestringRequired if path parameter is not present.
Ignored if path parameter is present.
The name of the folder to create.
parentResourcestringRequired if path parameter is not present.
Ignored if path parameter is present.
Which folder to create the new folder in.
It can be specified as either the complete path (e.g. my/folder/) or as a resource ID (e.g. id:31415926535)

Get Instant Access to Files.com

The button below will take you to our Free Trial signup page. Click on the white "Start My Free Trial" button, then fill out the short form on the next page. Your account will be activated instantly. You can dive in and start yourself or let us help. The choice is yours.