Add FalconRole - CrowdStrike/psfalcon GitHub Wiki
Assign roles to users
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 | |||||
ExpiresAt | String | Expiration date and time (UTC, RFC3339) |
Add-FalconRole [-UserId] <String> [-Cid] <String> [-Id] <String[]> [[-ExpiresAt] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
POST /user-management/entities/user-role-actions/v1
NOTE: Custom roles are not able to be assigned through the CrowdStrike APIs.
Add-FalconRole -Id <id>, <id> -UserId <id> -Cid <cid>
2025-09-19: PSFalcon v2.2.9