Skip to main content

Move rules or sections in the Sign-In policy

PATCH 

/seb-api/v1/policy/sign-in/positions

Submits an ordered list of moves. Each move repositions one rule or section into an explicit container (target.sectionId) using a position keyword (top/bottom/before/after) plus an optional anchor. Section subjects auto-carry their child rules in the same relative order. Default (baseline) rules are pinned at the bottom and cannot be moved or anchored on. All moves apply atomically; if any move fails, no DB changes or audit events are produced. The failing move's index is in the error details.

Request

Responses

Successfully applied all moves.