Nodes

Remove relationships between a Node and linked Nodes

Changed on

Remove specified linked nodes from the node.

Permissions - The authenticated user must have write permissions on the node.

Request Body - A data array containing the node resource identifier objects to be removed.

Returns - An empty response indicating successful deletion.

delete/nodes/{node_id}/relationships/linked_nodes/

Request

  • Base URL
    https://api.test.osf.io/v2
  • URL
    https://api.test.osf.io/v2/nodes/{node_id}/relationships/linked_nodes/
  • Auth
    none declared

Path parameters

node_idstring required

The unique identifier of the node.

Request body

Example request

{
  "data": [
    {
      "type": "nodes",
      "id": "abc123"
    }
  ]
}

Response

Successfully removed linked nodes from the node. No content returned.

Changes