English
cURL
curl --request POST \ --url https://app.teable.io/api/organization/%7BorganizationId%7D/department \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \ --header 'content-type: application/json' \ --data '{"id":"string","name":"string","parentId":"string"}'
{ "id": "<string>", "name": "<string>", "parentId": "<string>", "path": [ "<string>" ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Create department successfully
The response is of type object.
object