Add a User to an Access Group
Add a specified ACS user to a specified access group
Adds a specified ACS user to a specified access group.
Adds a specified access system user to a specified access group.
ID of the access group to which you want to add an access system user.
ID of the access system user that you want to add to an access group. You can only provide one of acs_user_id or user_identity_id.
ID of the desired user identity that you want to add to an access group. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same email_address or phone_number as the user identity that you specify, they are linked, and the access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.
OK
Bad Request
Unauthorized
POST /acs/access_groups/add_user HTTP/1.1
Host: connect.getseam.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 173
{
"acs_access_group_id": "123e4567-e89b-12d3-a456-426614174000",
"acs_user_id": "123e4567-e89b-12d3-a456-426614174000",
"user_identity_id": "123e4567-e89b-12d3-a456-426614174000"
}{
"ok": true
}Request
Specify the desired access group and user by including the corresponding acs_access_group_id and acs_user_id in the request body.
Request Body Parameters
acs_access_group_id
String (UUID) Required
ID of the desired access group
acs_user_id
String (UUID) Required
ID of the desired user
Sample Request
seam.acs.access_groups.add_user(
acs_access_group_id="44444444-4444-4444-4444-444444444444",
acs_user_id="33333333-3333-3333-3333-333333333333"
)curl -X 'POST' \
'https://connect.getseam.com/acs/access_groups/add_user' \
-H "Authorization: Bearer ${API_KEY}" \
-H 'Content-Type: application/json' \
-d '{
"acs_access_group_id": "44444444-4444-4444-4444-444444444444",
"acs_user_id": "33333333-3333-3333-3333-333333333333"
}'await seam.acs.access_groups.addUser({
acs_access_group_id: "44444444-4444-4444-4444-444444444444",
acs_user_id: "33333333-3333-3333-3333-333333333333"
});# Coming soon!$seam->acs->access_groups->add_user(
acs_access_group_id: "44444444-4444-4444-4444-444444444444",
acs_user_id: "33333333-3333-3333-3333-333333333333"
);seam.AccessGroupsAcs.AddUser(
acsAccessGroupId: "44444444-4444-4444-4444-444444444444",
acsUserId: "33333333-3333-3333-3333-333333333333"
);// Coming soon!add, uErr := client.Acs.AccessGroups.AddUser(
context.Background(), &acs.AccessGroupsAddUserRequest{
AcsAccessGroupId: "44444444-4444-4444-4444-444444444444",
AcsUserId: "33333333-3333-3333-3333-333333333333",
},
)Response
Returns a Boolean ok status indicator or void.
Sample Response
None{
"ok": true
}void# Coming soon!voidvoid// Coming soon!{
"ok": true
}Last updated
Was this helpful?

