Remove Auth0 roles from a user
Approval-gated Auth0 role removal workflow for one user. It reads the user and current role assignments for context, then calls recued-core.auth0.user.role.remove with the supplied role IDs. It does not delete roles, mutate role permissions, change organization-specific roles, revoke sessions or refresh tokens, or call arbitrary Auth0 APIs.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (13 steps)
user_id
trim
Trim whitespace from setting user id
reason
trim
Trim whitespace from setting reason
user
?
roles_before_raw
?
remove_roles
?
roles_after_raw
?
roles_before
default
Apply default
roles_after
default
Apply default
before_count
count
Count items in roles before
after_count
count
Count items in roles after
role_rows
slice
Take a subset of
role_table
to_table
Format results as a data table
card
to_summary
Format results as a summary card
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
auth0
setting
=
reason
setting
=
user id
setting
=
role ids
setting
=
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.