Update an existing department

Updates the provided department fields.

Business Rules:

  • name: Required. Maximum 300 characters.
  • description: Optional. Maximum 900 characters.
  • type: Optional. Must be one of: DEPARTMENT, SECTOR, SECTIONS.
  • costCenterCode: Optional. If provided, the cost center must exist. Set to null to remove cost center.
  • externalCode: Not editable in this endpoint.
Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here!