RevertToFlatResponseDto
Example
{ "assignments_moved": 0, "assignments_deduplicated": 0, "assignments_expired_dropped": 0, "assignments_dropped_scoped": 0, "nodes_deleted": 0, "organizations_preserved": 0, "schema_cleared": false }
Properties
Number of unique (identity, role) pairs reseated at the root node.
Number of duplicate assignments collapsed during the dedupe pass.
Number of expired assignments (those whose `effective_to` was already in the past) that were discarded during the flatten. Expired rows grant no access; preserving them as unbounded root rows would silently reinstate dead access, so they're dropped. Surfaced explicitly so the admin sees the cleanup actually happened.
With organizations enabled: number of assignments made at nodes beneath an organization that were dropped. Such a grant is scoped to one branch of one tenant; reseating it at the organization would widen it to the whole tenant and reseating it at the root would cross tenants, so it is removed instead. Always `0` without organizations.
Number of hierarchy nodes deleted as part of the flatten: every non-root node without organizations, every node beneath an organization with them.
With organizations enabled: number of organizations that stayed in place with their memberships. Always `0` without organizations.
Tell us how we can improve this guide.