v1

latestSwagger 2.0Apache 2.02026-07-1334102.9 MB
Nodes

Replace relationships between a Node and its affiliated Institutions

Replace all existing affiliated institutions for a node with a new set of institutions.

Permissions

  • The authenticated user must have admin permissions on the node.

Request Body

  • A data array containing the new list of institution resource identifier objects (type and id).

Returns

  • The updated list of affiliated institutions for the node.
patch/nodes/{node_id}/relationships/institutions/

Path parameters

node_idstring required

The unique identifier of the node.

Request body

Example request

{
  "data": [
    {
      "type": "institutions",
      "id": "cos"
    }
  ]
}

Response

Successfully replaced affiliated institutions for the node.