Skip to main content
PUT
Set file or directory permissions/ownership

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 path whose permissions are to be changed.

Pattern: ^/.*
mode
string
required

File mode bits (octal string, e.g. 644).

Pattern: ^[0-7]{3,4}$
owner
string

New owner username or UID.

group
string

New group name or GID.

Response

Permissions updated