Skip to main content
POST
/
drives
/
mount
Attach a drive to a local path
curl --request POST \
  --url https://sbx-{sandbox_id}-{workspace_id}.{region}.bl.run/drives/mount \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "driveName": "<string>",
  "mountPath": "<string>",
  "drivePath": "<string>"
}
'
{
  "driveName": "<string>",
  "drivePath": "<string>",
  "message": "<string>",
  "mountPath": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Drive attachment parameters

driveName
string
required
mountPath
string
required
drivePath
string

Optional, defaults to "/"

Response

OK

driveName
string
drivePath
string
message
string
mountPath
string
success
boolean
Last modified on April 15, 2026