Skip to main content
POST
/
api
/
dept
/
add
创建分组
curl --request POST \
  --url https://api.example.com/api/dept/add \
  --header 'Authentication: <authentication>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "parentId": "<string>",
  "deptName": "<string>"
}
'
{}

Headers

Authentication
string
required

Body

application/json
parentId
string
required
deptName
string
required

Response

200 - application/json

The response is of type object.