ScheduleGroups

Reorders the groups under one parent (sibling display order).

Requires ManageJobs and an Idempotency-Key header. Same as dragging groups on the Schedule Groups page: displayOrder becomes 0, 1, 2, … in the order given. List every group under the parent exactly once — a partial list is refused rather than half-applied. Example: { "parentGroupId": 3, "ids": [9, 7, 8] }.

post/api/v1/schedule-groups/reorder

Request

  • Base URL: https://app.flexonthejob.com
  • URL: https://app.flexonthejob.com/api/v1/schedule-groups/reorder
  • Auth: HTTP bearer

Request body

parentGroupIdinteger nullable

Parent whose child groups are reordered; omit or 0 for the top-level groups.

idsinteger[] required

Every group id under that parent exactly once, first to last (ids from GET /api/v1/schedule-groups?parentGroupId=…); at most 500.

Response

The siblings in their new order.

parentGroupIdinteger nullable

The parent whose children were reordered; null for the top level.

Changes

No recorded changes to this operation across all 1 revision of this API.