cURL
curl --request PATCH \ --url https://api.scholarlysoftware.com/api/v1/departments/{id}/relationships/parent \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/vnd.api+json' \ --data '{ "data": { "type": "department", "id": "<string>" } }'
This response does not have an example.
Updates the parent relationship of a department (JSON:API relationship endpoint)
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Bearer token
Department UUID
parent relationship removed (made root)