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 '{}'
{ "errors": [ { "status": "<string>", "title": "<string>", "detail": "<string>" } ] }
Sets or removes the parent department. Pass null data to make this a root department.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Bearer token
Show child attributes
Parent updated