Table of Contents

, , , , , , , ,

Delete roles from CSV

IdStory allows bulk delete of roles defined in a CSV file. The action runs as a standard long running task (LRT) started from the scheduler. Roles are deleted one by one - the result of every row is logged to a processed item, so you can review which roles were deleted and why a role could not be deleted (for example because it is still assigned to an identity).

Configuration

⚠️ Force delete is a destructive operation - it removes the role even if it still has related records (assignments, automatic role definitions, business roles, …). Run it only when you are sure these records should be removed as well.

Behavior

Standard delete

Without Force delete the role is deleted via the standard , which runs all related processors and validations. If the role cannot be deleted (for example it is still assigned to an identity), the item is logged as failed and the role is kept.

Force delete

With Force delete enabled the role is removed together with all related records. The actual cleanup runs at the end of the task: for every role marked for force delete IdStory re-checks whether the role has been assigned to a user again in the meantime - if so, the role is not deleted and the item is logged as failed. Otherwise the role and all its states are removed.

The task is recoverable - it can be restarted from the scheduler and continues with the original CSV attachment.