Remove a User from an Access Group

Remove a specified user from a specified access group

Removes a specified user from a specified access group.

/acs/access_groups/remove_user

POSThttps://connect.getseam.com/acs/access_groups/remove_user
Authorization
Body
acs_access_group_id*string (uuid)
acs_user_id*string (uuid)
Response

OK

Body
ok*boolean
Request
const response = await fetch('https://connect.getseam.com/acs/access_groups/remove_user', {
    method: 'POST',
    headers: {
      "Authorization": "Bearer API Token",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "acs_access_group_id": "123e4567-e89b-12d3-a456-426614174000",
      "acs_user_id": "123e4567-e89b-12d3-a456-426614174000"
    }),
});
const data = await response.json();
Response
{
  "ok": false
}

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

ParameterTypeDescription

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.remove_user(
  acs_access_group_id="44444444-4444-4444-4444-444444444444",
  acs_user_id="33333333-3333-3333-3333-333333333333"
)

Response

Returns a Boolean ok status indicator or void.

Sample Response

None

Last updated

Logo

Š Seam Labs, Inc. All rights reserved.