跳转到主要内容
PUT
/
organization
/
{organizationId}
/
department-scope
cURL
curl --request PUT \
  --url http://127.0.0.1:3000/api/organization/{organizationId}/department-scope \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "departmentScope": "all"
}
'
{
  "departmentScope": "all"
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

organizationId
string
必填

请求体

application/json
departmentScope
enum<string>
必填
可用选项:
all,
related

响应

200 - application/json

Update department scope

departmentScope
enum<string>
必填
可用选项:
all,
related
Last modified on December 10, 2025