Skip to main content

Lock page

POST 

/wiki/pages/:pageID/locked

History

VersionChanges
v6.12.0Added in: v6.12.0

Lock page.

Request

Path Parameters

    pageID stringrequired

    The page ID

Query Parameters

    teamID stringrequired

    The team ID

    requestUserID string

    User ID, this parameter can only be passed when calling as an Oauth bot. It is used to perform operations as the specified user

Body

required

    locked boolean

    Whether to lock the page

Responses

Request is successful.

Schema

    data
    result string

    The result of this request.

    errorCode string

    The error code of this request.

    errorMsg string

    Error message for this request.

    errorData object

    Error meta data for this request.

Loading...