---
title: "Update Node Settings"
method: PATCH
path: "/nodes/{node_id}/settings/"
tags: ["Nodes"]
---

# Update Node Settings

`PATCH /nodes/{node_id}/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.

## Path parameters

- `node_id` string, required

## Request body

- object
  - `data` object
    - `id` string, required — The unique identifier of the node settings object (same as node_id).
    - `type` 'node-settings', required
    - `attributes` object, required
      - `wiki_enabled` boolean — Enable or disable the node's wiki.
      - `comments_enabled` boolean — Enable or disable comments on the node.
      - `public` boolean — Make the node public or private.

## Response `200`

Node settings successfully updated.

## Other responses

- `400` — Bad Request. Invalid input was provided.
- `401` — Unauthorized. Authentication is required.
- `403` — Forbidden. You do not have permission to modify node settings.
- `404` — Not Found. No node matches the given ID.

---

[API](https://skmtc.net/osf/apis/osf-apiv2-documentation.md) · [All operations](https://skmtc.net/osf/apis/osf-apiv2-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/osf/osf-apiv2-documentation/versions/ca701048eb0d/schema)
