Skip to main content
POST
/
v1
/
projects
/
{projectID}
/
disks
/
{diskName}
/
create
Create file or dir in FileBrowser
curl --request POST \
  --url https://{filebrowser-url}/v1/projects/{projectID}/disks/{diskName}/create \
  --header 'Authorization: <api-key>'
This response has no body data.

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Path Parameters

projectID
string
required

The id of your project

diskName
string
required

The name of your disk

Query Parameters

path
string
required

The path of your disk

type
string

The type of your request. valid values:["file", "dir"]

name
string

The name of your file or dir

Response