Suspending and Unsuspending ACS Users Learn how to make temporary access changes by suspending or unsuspending ACS users.
You can suspend an ACS user to revoke their access temporarily. Suspending an ACS user is a good action to take for users who may be behind on payment or have not fulfilled the requirements for entry. Then, once the user rectifies the payment, requirements, or other deficiency, you can unsuspend the ACS user to restore their access.
Suspend an ACS User
To suspend an ACS user , provide the acs_user_id
.
Python cURL (bash) JavaScript Ruby PHP C# Java Go
Request:
Copy seam . acs . users . suspend (
acs_user_id = "33333333-3333-3333-3333-333333333333"
)
Response:
Request:
Copy curl -X 'POST' \
'https://connect.getseam.com/acs/users/suspend' \
-H 'accept: application/json' \
-H "Authorization: Bearer ${API_KEY}" \
-H 'Content-Type: application/json' \
-d '{
"acs_user_id": "33333333-3333-3333-3333-333333333333"
}'
Response:
Request:
Copy await seam . acs . users .suspend ({
acs_user_id : "33333333-3333-3333-3333-333333333333"
});
Response:
Request:
Copy $seam -> acs -> users -> suspend (
acs_user_id : "33333333-3333-3333-3333-333333333333"
) ;
Response:
Request:
Copy seam . UsersAcs . Suspend (
acsUserId : "33333333-3333-3333-3333-333333333333" ,
);
Response:
Request:
Copy suspend, uErr := client.Acs.Users. Suspend (
context. Background (), & acs . UsersSuspendRequest {
AcsUserId: "33333333-3333-3333-3333-333333333333" ,
},
);
Response:
Unsuspend an ACS User
To unsuspend an ACS user , provide the acs_user_id
.
Python cURL (bash) JavaScript Ruby PHP C# Java Go
Request:
Copy seam . acs . users . unsuspend (
acs_user_id = "33333333-3333-3333-3333-333333333333"
)
Response:
Request:
Copy curl -X 'POST' \
'https://connect.getseam.com/acs/users/unsuspend' \
-H 'accept: application/json' \
-H "Authorization: Bearer ${API_KEY}" \
-H 'Content-Type: application/json' \
-d '{
"acs_user_id": "33333333-3333-3333-3333-333333333333"
}'
Response:
Request:
Copy await seam . acs . users .unsuspend ({
acs_user_id : "33333333-3333-3333-3333-333333333333"
});
Response:
Request:
Copy $seam -> acs -> users -> unsuspend (
acs_user_id : "33333333-3333-3333-3333-333333333333"
) ;
Response:
Request:
Copy seam . UsersAcs . Unsuspend (
acsUserId : "33333333-3333-3333-3333-333333333333"
);
Response:
Request:
Copy unsuspend, uErr := client.Acs.Users. Unsuspend (
context. Background (), & acs . UsersUnsuspendRequest {
AcsUserId: "33333333-3333-3333-3333-333333333333" ,
},
);
Response: