Skip to content

Profile Groups

Operations for the Profile Groups service collection.

LanguageLast Update
Pythonv1.6.5
PowerShell
Gov0.22.0
TypeScriptv0.6.0
Rust
Rubyv1.4.0

OperationDescription
CreateGroupV1Mixin0
create_group_v1_mixin0
Create a new profile group
DeleteGroupsV1
delete_groups_v1
Delete profile groups by IDs
GetGroupsV1Mixin0
get_groups_v1_mixin0
Get profile groups by IDs with full details
GetGroupUsersV1
get_group_users_v1
Get a list of groups with users that belong to them
GetUserGroupsV1
get_user_groups_v1
Get a list of users with the groups that they belong to
GroupActionsV1Mixin0
group_actions_v1_mixin0
Perform actions on profile groups (add/remove roles, user groups, FGA objects)
GroupUsersActionsV1Mixin0
group_users_actions_v1_mixin0
Add or remove users from profile groups
QueryGroupsV1Mixin0
query_groups_v1_mixin0
Query profile group IDs with FQL filtering, pagination, and sorting
UpdateGroupV1Mixin0
update_group_v1_mixin0
Update profile group metadata (name, description)

Create a new profile group

Method POST
Route /user-management/entities/groups/v1
Scope User management: WRITE
PEP 8 create_group_v1_mixin0
body body · dictionary
Full body payload as JSON formatted dictionary.
cid body · string
CID for the new profile group in a Flight Control environment
description body · string
Optional description for the group
name body · string
Name for the new profile group
from falconpy import ProfileGroups
falcon = ProfileGroups(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.create_group_v1_mixin0(cid="string",
description="string",
name="string")
print(response)
[
{
"assignments": {},
"created_at": "string",
"created_by": "string",
"description": "string",
"id": "string",
"member_count": 0,
"name": "string",
"updated_at": "string",
"updated_by": "string"
}
]


Delete profile groups by IDs

Method DELETE
Route /user-management/entities/groups/v1
Scope User management: WRITE
PEP 8 delete_groups_v1
ids query · string or list of strings
Group IDs to delete
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ProfileGroups
falcon = ProfileGroups(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.delete_groups_v1(ids=id_list)
print(response)
{
"errors": [
{
"code": 0,
"id": "string",
"message": "string"
}
],
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
},
"powered_by": "string",
"query_time": 0.0,
"trace_id": "string",
"writes": {
"resources_affected": 0
}
}
}


Get profile groups by IDs with full details

Method POST
Route /user-management/entities/groups/GET/v1
Scope User management: READ
PEP 8 get_groups_v1_mixin0
body body · dictionary
Full body payload as JSON formatted dictionary.
ids body · array
Profile Group IDs to retrieve
from falconpy import ProfileGroups
falcon = ProfileGroups(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_groups_v1_mixin0(ids=id_list)
print(response)
[
{
"assignments": {},
"created_at": "string",
"created_by": "string",
"description": "string",
"id": "string",
"member_count": 0,
"name": "string",
"updated_at": "string",
"updated_by": "string"
}
]


Get a list of groups with users that belong to them

Method POST
Route /user-management/entities/group-users/GET/v1
Scope User management: READ
PEP 8 get_group_users_v1
body body · dictionary
Full body payload as JSON formatted dictionary.
ids body · array
Profile Group IDs to get users for
from falconpy import ProfileGroups
falcon = ProfileGroups(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_group_users_v1(ids=id_list)
print(response)
[
{
"group_id": "string",
"user_uuids": []
}
]


Get a list of users with the groups that they belong to

Method POST
Route /user-management/entities/user-groups/GET/v1
Scope User management: READ
PEP 8 get_user_groups_v1
body body · dictionary
Full body payload as JSON formatted dictionary.
ids body · array
User UUIDs to get groups for
from falconpy import ProfileGroups
falcon = ProfileGroups(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_user_groups_v1(ids=id_list)
print(response)
[
{
"group_ids": [],
"user_uuid": "string"
}
]


Perform actions on profile groups (add/remove roles, user groups, FGA objects)

Method POST
Route /user-management/entities/group-actions/v1
Scope User management: WRITE
PEP 8 group_actions_v1_mixin0
body body · dictionary
Full body payload as JSON formatted dictionary.
action_parameters body · array
The action_parameters value.
filter body · string
The filter value.
ids body · array
The ids value.
action_name query · string
Action to perform
Available values (6)
add_rolesremove_rolesadd_user_groups
remove_user_groupsadd_fga_objectsremove_fga_objects
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ProfileGroups
falcon = ProfileGroups(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.group_actions_v1_mixin0(action_name="string",
action_parameters=["string"],
filter="string",
ids=id_list)
print(response)
{
"errors": [
{
"code": 0,
"id": "string",
"message": "string"
}
],
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
},
"powered_by": "string",
"query_time": 0.0,
"trace_id": "string",
"writes": {
"resources_affected": 0
}
}
}


Add or remove users from profile groups

Method POST
Route /user-management/entities/group-users-actions/v1
Scope User management: WRITE
PEP 8 group_users_actions_v1_mixin0
body body · dictionary
Full body payload as JSON formatted dictionary.
action_parameters body · array
The action_parameters value.
filter body · string
The filter value.
ids body · array
The ids value.
action_name query · string
Action to perform
Available values (2)
add_usersremove_users
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ProfileGroups
falcon = ProfileGroups(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.group_users_actions_v1_mixin0(action_name="string",
action_parameters=["string"],
filter="string",
ids=id_list)
print(response)
{
"errors": [
{
"code": 0,
"id": "string",
"message": "string"
}
],
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
},
"powered_by": "string",
"query_time": 0.0,
"trace_id": "string",
"writes": {
"resources_affected": 0
}
}
}


Query profile group IDs with FQL filtering, pagination, and sorting

Method GET
Route /user-management/queries/groups/v1
Scope User management: READ
PEP 8 query_groups_v1_mixin0
filter query · string
FQL filter expression to filter groups by name or cid
sort query · string
Sort by field|direction (name, updated_at, member_count)
offset query · integer
Number of groups to skip
limit query · integer
Maximum groups to return [1-500]
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ProfileGroups
falcon = ProfileGroups(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_groups_v1_mixin0(filter="string",
sort="string",
offset=integer,
limit=integer)
print(response)
[
"string"
]


Update profile group metadata (name, description)

Method PATCH
Route /user-management/entities/groups/v1
Scope User management: WRITE
PEP 8 update_group_v1_mixin0
body body · dictionary
Full body payload as JSON formatted dictionary.
description body · string
New description for the group
name body · string
New name for the group
id query · string
ID of the group to update
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ProfileGroups
falcon = ProfileGroups(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.update_group_v1_mixin0(id="string",
description="string",
name="string")
print(response)
[
{
"assignments": {},
"created_at": "string",
"created_by": "string",
"description": "string",
"id": "string",
"member_count": 0,
"name": "string",
"updated_at": "string",
"updated_by": "string"
}
]