Create a folder

This call creates a new folder.Every project on the Seven Bridges Platform is represented by a root folder which contains all the files associated with a particular project. You can create nesting folders and subfolders within this root folder by using this API request.Once you've created a folder, you can move or copy files between folders to populate your newly created folder.To list the contents of the main project folder, first make the API request to get project details which will return the ID of the main folder (key: root_folder). Next, use the list folder contents call and specify this ID.

Body Params
string
required

The name of the folder. It shouldn't begin with "__".

string
required
Defaults to folder

Set this to folder.

string

Specifies the ID of the parent folder for the new folder. You should either specify a parent folder or the project name (see list folder contents for instructions on how to find the folder ID).

string

Project ID (username/project_name). You should either specify a project name or the parent folder ID.

Headers
string
required

Your Seven Bridges Platform authentication token. For security reasons, token will not be automatically populated in the generated code sample. Please replace <your-token-here> with your token before executing this call.

Response

Language
Request
Response
Choose an example:
application/json