English
cURL
curl --request GET \ --url http://127.0.0.1:3000/api/organization/{organizationId}/department/{departmentId} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "name": "<string>", "hasChildren": true, "parentId": "<string>", "path": [ "<string>" ], "pathName": [ "<string>" ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Get department successfully
Was this page helpful?