patch
https://sandbox.pismolabs.io/apex/v1/divisions/
Update a division identified by its division code. Only the fields sent change. You can update only external_hierarchy_id, external_hierarchy_level_id, name, parent_division_code, description, timezone, external_program_ids and schema. Passing any other field, including division_code or division_id, returns 400.
On success, the Pismo platform generates a Corporate division updated event.
Notes:
external_program_idsreplaces the current programs, and an empty array removes them.nullclearsdescriptionortimezone, and an emptyschema({}) clears the schema.- A division with child divisions can't move to another hierarchy, and its level must keep a lower index than its child divisions' levels.
- Sending the same update again succeeds.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
204Division updated