---
title: "Remove relationships between a Node and Subjects"
method: DELETE
path: "/nodes/{node_id}/relationships/subjects/"
tags: ["Nodes"]
---

# Remove relationships between a Node and Subjects

`DELETE /nodes/{node_id}/relationships/subjects/`

Remove specified subject relationships from a node.
#### Permissions - The authenticated user must have write permissions on the node.
#### Request Body - A `data` array containing the subject resource identifier objects to be removed.
#### Returns - An empty response indicating successful deletion.

## Path parameters

- `node_id` string, required

## Request body

- object
  - `data` object[]
    - `type` 'subjects', required — Must be `subjects`.
    - `id` string, required — The unique identifier for the subject.

## Response `204`

Successfully deleted the subject relationship(s) from the node. No content returned.

## Other responses

- `400` — Bad Request. The submitted data is invalid.
- `401` — Unauthorized. Authentication is required.
- `403` — Forbidden. You do not have permission to modify subjects on this node.
- `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)
