Skip to main content
POST
Lock a file

Authorizations

Authorization
string
header
required

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

Path Parameters

workspaceId
string
required

Body

application/json
path
string
required

File path.

reason
string

Why the file is locked, shown to anyone who tries to write it.

Response

Successful response

The response is of type object.