/operations/departments

Create

Creates a new department configuration for the caller's organization. | authz: min_org_role=administrator | (DepartmentClientCreate1) -> (PydanticObjectId)

post/operations/departments/v1

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/operations/departments/v1
  • Auth
    HTTP bearer

Request body

schema_version1 required
namestring required
department_type'aerospace' | 'agriculture' | 'automotive' | 'chemicals' | 'electronics' | 'energy' | 'food_and_beverage' | 'general' | 'healthcare' | 'industrials' | 'life_sciences' | 'live_animals' | 'manufacturing' | 'marine' | 'pharmaceutical' | 'radiopharma' | 'retail' | 'semiconductor' required
operator_user_idsstring[]

Response

Successful Response

string required

Changes

No recorded changes to this operation across all 20 revisions of this API.