GET
/
api
/
v1
/
departments
/
{id}
/
relationships
/
parent
Get department parent relationship
curl --request GET \
  --url https://api.scholarlysoftware.com/api/v1/departments/{id}/relationships/parent \
  --header 'Authorization: Bearer <token>'
{
  "links": {
    "self": "<string>",
    "related": "<string>"
  },
  "data": {
    "type": "<string>",
    "id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer token

Path Parameters

id
string
required

Department UUID

Response

200
application/vnd.api+json

no parent relationship (root department)

The response is of type object.