Skip to main content
POST
Set file permissions

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

id
string
required

Machine ID (e.g. mch_a1b2c3d4)

Body

application/json
path
string
required

Machine path whose mode will be updated. Relative paths resolve using the same filesystem contract as PathRequest.path.

permissions
string
required
Example:

"0755"

user
string

Optional machine user for relative-path resolution and ownership.

Response

204

Permissions updated