List Access Groups
POST /acs/access_groups/list ⇒ { acs_access_groups: [acs_access_group, …] }
Returns a list of all access groups.
Request
await seam.acs.accessGroups.list({
acs_system_id: "11111111-1111-1111-1111-111111111111",
acs_user_id: "33333333-3333-3333-3333-333333333333",
});
Response
[
{
"acs_access_group_id": "44444444-4444-4444-4444-444444444444",
"name": "Lobby Access",
"display_name": "Lobby Access",
"access_group_type_display_name": "PTI access level",
"access_group_type": "pti_access_level",
"external_type": "pti_access_level",
"external_type_display_name": "PTI access level",
"acs_system_id": "11111111-1111-1111-1111-111111111111",
"workspace_id": "00000000-0000-0000-0000-000000000000",
"created_at": "2023-11-30T06:27:15.437Z"
}
]
Request
seam.acs.access_groups.list(
acs_system_id="11111111-1111-1111-1111-111111111111",
acs_user_id="33333333-3333-3333-3333-333333333333",
)
Response
[
AcsAccessGroup(
acs_access_group_id="44444444-4444-4444-4444-444444444444",
name="Lobby Access",
display_name="Lobby Access",
access_group_type_display_name="PTI access level",
access_group_type="pti_access_level",
external_type="pti_access_level",
external_type_display_name="PTI access level",
acs_system_id="11111111-1111-1111-1111-111111111111",
workspace_id="00000000-0000-0000-0000-000000000000",
created_at="2023-11-30T06:27:15.437Z",
)
]
Request
seam.acs.access_groups.list(acs_system_id: "11111111-1111-1111-1111-111111111111", acs_user_id: "33333333-3333-3333-3333-333333333333")
Response
[{"acs_access_group_id" => "44444444-4444-4444-4444-444444444444", "name" => "Lobby Access", "display_name" => "Lobby Access", "access_group_type_display_name" => "PTI access level", "access_group_type" => "pti_access_level", "external_type" => "pti_access_level", "external_type_display_name" => "PTI access level", "acs_system_id" => "11111111-1111-1111-1111-111111111111", "workspace_id" => "00000000-0000-0000-0000-000000000000", "created_at" => "2023-11-30T06:27:15.437Z"}]
Request
<?php
$seam->acs->access_groups->list(
acs_system_id: "11111111-1111-1111-1111-111111111111",
acs_user_id: "33333333-3333-3333-3333-333333333333"
);
Response
[["acs_access_group_id" => "44444444-4444-4444-4444-444444444444","name" => "Lobby Access","display_name" => "Lobby Access","access_group_type_display_name" => "PTI access level","access_group_type" => "pti_access_level","external_type" => "pti_access_level","external_type_display_name" => "PTI access level","acs_system_id" => "11111111-1111-1111-1111-111111111111","workspace_id" => "00000000-0000-0000-0000-000000000000","created_at" => "2023-11-30T06:27:15.437Z"]]
Request
seam acs access-groups list --acs_system_id "11111111-1111-1111-1111-111111111111" --acs_user_id "33333333-3333-3333-3333-333333333333"
Response
[
{
"acs_access_group_id": "44444444-4444-4444-4444-444444444444",
"name": "Lobby Access",
"display_name": "Lobby Access",
"access_group_type_display_name": "PTI access level",
"access_group_type": "pti_access_level",
"external_type": "pti_access_level",
"external_type_display_name": "PTI access level",
"acs_system_id": "11111111-1111-1111-1111-111111111111",
"workspace_id": "00000000-0000-0000-0000-000000000000",
"created_at": "2023-11-30T06:27:15.437Z"
}
]
Request
package main
import api "github.com/seamapi/go"
import accessgroups "github.com/seamapi/go/accessgroups"
func main() {
client.Acs.AccessGroups.List(
context.Background(),
accessgroups.AccessGroupsListRequest{
AcsSystemId: api.String("11111111-1111-1111-1111-111111111111"),
AcsUserId: api.String("33333333-3333-3333-3333-333333333333"),
},
)
}
Response
[]api.AcsAccessGroup{api.AcsAccessGroup{AcsAccessGroupId: "44444444-4444-4444-4444-444444444444", Name: "Lobby Access", DisplayName: "Lobby Access", AccessGroupTypeDisplayName: "PTI access level", AccessGroupType: "pti_access_level", ExternalType: "pti_access_level", ExternalTypeDisplayName: "PTI access level", AcsSystemId: "11111111-1111-1111-1111-111111111111", WorkspaceId: "00000000-0000-0000-0000-000000000000", CreatedAt: "2023-11-30T06:27:15.437Z"}}
Request Parameters
acs_system_id
acs_system_id
Type: string
Required: No
ID of the access control system for which you want to retrieve all access groups.
acs_user_id
acs_user_id
Type: string
Required: No
ID of the user for which you want to retrieve all access groups.
Return Type
Array<acs_access_group>
Last updated