a specified . Suspending an access system user revokes their access temporarily. To restore an access system user's access, you can them.
POST /acs/users/suspend ⇒ void
Authentication Methods
Personal access token
Must also include the seam-workspace
header in the request.
To learn more, see .
Request Parameters
acs_user_id
String (Required)
ID of the access system user that you want to suspend.
Response
void
Examples
Suspend an ACS user
Code
await seam.acs.users.suspend({
acs_user_id: "8d7e0b3a-b889-49a7-9164-4b71a0506a33",
});
Output
Code
seam.acs.users.suspend(acs_user_id="8d7e0b3a-b889-49a7-9164-4b71a0506a33")
Output
Code
seam.acs.users.suspend(acs_user_id: "8d7e0b3a-b889-49a7-9164-4b71a0506a33")
Output
Code
<?php
$seam->acs->users->suspend(acs_user_id: "8d7e0b3a-b889-49a7-9164-4b71a0506a33");
Output
Code
seam acs users suspend --acs_user_id "8d7e0b3a-b889-49a7-9164-4b71a0506a33"
Output
Code
package main
import api "github.com/seamapi/go"
import users "github.com/seamapi/go/users"
func main() {
client.Acs.Users.Suspend(
context.Background(),
users.UsersSuspendRequest{
AcsUserId: api.String("8d7e0b3a-b889-49a7-9164-4b71a0506a33"),
},
)
}
Output
Code
curl --include --request POST "https://connect.getseam.com/acs/users/suspend" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"acs_user_id": "8d7e0b3a-b889-49a7-9164-4b71a0506a33"
}
EOF
Output