Skip to main content
PUT
/
browsers
/
{id}
/
fs
/
create_directory
JavaScript
import Kernel from '@onkernel/sdk';

const client = new Kernel({
  apiKey: 'My API Key',
});

await client.browsers.fs.createDirectory('id', { path: '/J!' });
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Browser session ID

Body

application/json
path
string
required

Absolute directory path to create.

mode
string

Optional directory mode (octal string, e.g. 755). Defaults to 755.

Response

Directory created successfully

I