简体中文
cURL
curl --request GET \ --url 'https://app.teable.cn/api/organization/%7BorganizationId%7D/department?parentId=SOME_STRING_VALUE&search=SOME_STRING_VALUE&includeChildrenDepartment=SOME_STRING_VALUE' \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
[ { "id": "<string>", "name": "<string>", "parentId": "<string>", "path": [ "<string>" ], "pathName": [ "<string>" ], "hasChildren": true } ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Get department list successfully
The response is of type object[].
object[]