Remove FalconRole - CrowdStrike/psfalcon GitHub Wiki
Remove roles from a user
Requires 'User management: Write'.
| Name | Type | Description | Min | Max | Allowed | Pipeline | PipelineByName |
|---|---|---|---|---|---|---|---|
| UserId | String | User identifier | X | ||||
| Cid | String | Customer identifier | X | ||||
| Id | String[] | User role |
Remove-FalconRole [-UserId] <String> [-Cid] <String> [-Id] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]POST /user-management/entities/user-role-actions/v1
NOTE: Custom roles are not able to be removed through the CrowdStrike APIs.
Remove-FalconRole -Id <id>, <id> -UserId <id> -Cid <cid>2023-10-13: PSFalcon v2.2.5
