Remove a User from an Access Group
Remove a specified ACS user from a specified access group
Removes a specified ACS user from a specified access group.
Removes a specified access system user from a specified access group.
ID of the access system user that you want to remove from an access group. You can only provide acs_user_id or user_identity_id.
ID of the user identity that you want to remove from an access group. You can only provide acs_user_id or user_identity_id.
ID of the access group from which you want to remove an access system user.
OK
Bad Request
Unauthorized
POST /acs/users/remove_from_access_group HTTP/1.1
Host: connect.getseam.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 173
{
"acs_user_id": "123e4567-e89b-12d3-a456-426614174000",
"user_identity_id": "123e4567-e89b-12d3-a456-426614174000",
"acs_access_group_id": "123e4567-e89b-12d3-a456-426614174000"
}{
"ok": true
}Request
Specify the desired ACS user and access group by including the corresponding acs_user_id and acs_access_group_id in the request body.
Request Body Parameters
acs_user_id
String (UUID) Required
ID of the desired ACS user
acs_access_group_id
String (UUID) Required
ID of the desired access group
Sample Request
seam.acs.users.remove_from_access_group(
acs_user_id="33333333-3333-3333-3333-333333333333",
acs_access_group_id="44444444-4444-4444-4444-444444444444"
)curl -X 'POST' \
'https://connect.getseam.com/acs/users/remove_from_access_group' \
-H 'accept: */*' \
-H "Authorization: Bearer ${API_KEY}" \
-H 'Content-Type: application/json' \
-d '{
"acs_user_id": "33333333-3333-3333-3333-333333333333",
"acs_access_group_id": "44444444-4444-4444-4444-444444444444"
}'await seam.acs.users.removeFromAccessGroup({
acs_user_id: "33333333-3333-3333-3333-333333333333",
acs_access_group_id: "44444444-4444-4444-4444-444444444444"
});# Coming soon!$seam->acs->users->remove_from_access_group(
acs_user_id: "33333333-3333-3333-3333-333333333333",
acs_access_group_id: "44444444-4444-4444-4444-444444444444"
);seam.UsersAcs.RemoveFromAccessGroup(
acsUserId: "33333333-3333-3333-3333-333333333333",
acsAccessGroupId: "44444444-4444-4444-4444-444444444444"
);// Coming soon!remove, uErr := client.Acs.Users.RemoveFromAccessGroup(
context.Background(), &acs.UsersRemoveFromAccessGroupRequest{
AcsUserId: "33333333-3333-3333-3333-333333333333",
AcsAccessGroupId: "44444444-4444-4444-4444-444444444444",
},
)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?

