- 项目说明
- user用户
- permission权限
- department机构管理
updateDept更新机构
Developing
PUT
/dept/updateDept
Last modified:2023-09-23 02:04:24
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
object {0}
Example
{
"deptId": "27642a9a-2c75-47b7-928c-51f363c1b387",
"code": "04",
"name": "市场部",
"status": "1",
"Pid": "00",
"managerUid": "95989d71-d927-4a06-999c-7b3f10f39edf"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://127.0.0.1:3001/api/dept/updateDept' \
--header 'Content-Type: application/json' \
--data-raw '{
"deptId": "27642a9a-2c75-47b7-928c-51f363c1b387",
"code": "04",
"name": "市场部",
"status": "1",
"Pid": "00",
"managerUid": "95989d71-d927-4a06-999c-7b3f10f39edf"
}'
Responses
🟢200OK
application/json
Body
object {0}
Example
{}
Modified at 2023-09-23 02:04:24