Department Config

Prev Next

Department Config

You need the Manage departments permission to manage department configs.

Department Config JSON Format

Department Config is represented as simple flat JSON objects with the following keys:

Name Type Description
isEnabled bool Whether Department is enabled or not.

Get a single Department Config

GET global/departmentConfig

  • Parameters:

No Parameters

  • Response:

Department Config

  • Example

Sample Request:

curl https://api11.comm100.io/v4/global/departmentConfig \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "isEnabled": true
} 

Disable the Department Config

POST global/departmentConfig:disable

  • Parameters:

No Parameters

  • Response:

Department Config

  • Example

Sample Request:

curl https://api11.comm100.io/v4/global/departmentConfig:disable \ 
    -X 'POST' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "isEnabled": false
} 

Enable the Department Config

POST global/departmentConfig:enable

  • Parameters:

No Parameters

  • Response:

Department Config

  • Example

Sample Request:

curl https://api11.comm100.io/v4/global/departmentConfig:enable \ 
    -X 'POST' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "isEnabled": true
} 
Copyright © 2022 Comm100 Network Corporation. All Rights Reserved.