cURL
curl --request GET \ --url https://api.scholarlysoftware.com/api/v1/departments/{id}/parent \ --header 'Authorization: Bearer <token>'
{ "data": { "id": "<string>", "type": "<string>", "attributes": { "name": "<string>", "is_root": true } } }
Returns the parent department of a specific department
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Bearer token
Department UUID
no parent found (root department)
The response is of type object.
object