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.

/acs/users/add_to_access_group

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

OK

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

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

ParameterTypeDescription

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

Response

Returns a Boolean ok status indicator or void.

Sample Response

None

Last updated

Logo

Š Seam Labs, Inc. All rights reserved.