Unsuspend a User

Unsuspend a specified ACS user

Unsuspends a specified suspended ACS user. While suspending an ACS user revokes their access temporarily, unsuspending the ACS user restores their access.

/acs/users/unsuspend

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

OK

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

Request

Specify the desired ACS user by including the corresponding acs_user_id in the request body.

Request Body Parameters

ParameterTypeDescription

acs_user_id

String (UUID) Required

ID of the desired ACS user

Sample Request

seam.acs.users.unsuspend(
  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.