put
https://api.gupy.io/os/v1/departments/
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.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Department updated successfully
400Bad Request - Validation errors
404Department not found
409Conflict - Cost center not found
