---
title: "Update the relationship to the supplemental node of the preprint"
method: PATCH
path: "/preprints/{preprint_id}/relationships/node/"
tags: ["Preprints"]
---

# Update the relationship to the supplemental node of the preprint

`PATCH /preprints/{preprint_id}/relationships/node/`

Update the supplemental node relationship for the specified preprint.
#### Permissions - Must have `write` permissions on both the preprint and the target node.

## Path parameters

- `preprint_id` string, required

## Request body

- object
  - `data` object
    - `type` string, required
    - `id` string, required

## Response `200`

Successfully updated the supplemental node relationship.

## Other responses

- `400` — Bad request. The node ID may be invalid or missing.
- `401` — Unauthorized. Authentication is required.
- `403` — Forbidden. You do not have permission to update this relationship.
- `404` — Not Found. No preprint or 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/revisions/ca701048eb0d/schema)
