Nodes
Update Node Settings
Update settings for a specific node. You can modify properties like wiki_enabled, comments_enabled, or make the node public/private.
Permissions - Only users with write access to the node can modify its settings.
Request Body
- The attributes object may include the following fields:
- wiki_enabled: Enable or disable the node's wiki.
- comments_enabled: Enable or disable comments on the node.
- public: Make the node public or private.
Returns
- A JSON object with the updated node settings under the data key.
patch/nodes/{node_id}/settings/
Path parameters
node_idstring required
The unique identifier of the node.
Request body
Example request
{
"data": {
"id": "{node_id}",
"type": "node-settings",
"attributes": {
"wiki_enabled": false,
"comments_enabled": false,
"public": true
}
}
}Response
Node settings successfully updated.