Skip to main content
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"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

organizationId
string
required

Body

application/json
departmentScope
enum<string>
required
Available options:
all,
related

Response

200 - application/json

Update department scope

departmentScope
enum<string>
required
Available options:
all,
related
Last modified on December 10, 2025