Skip to main content

Suspending and restoring access

Sometimes you need to temporarily deny access to a user. You just need to update the user options, setting the access_enabled attribute to false.

curl 'https://api.kisi.io/members/{id}' \
-X 'PATCH' \
-H 'Accept: application/json' \
-H 'Authorization: KISI-LOGIN authentication_token' \
-H 'Content-Type: application/json' \
--data-raw '{"member":{"access_enabled":false}}'

If you need to restore the access, set again the access_enabled attribute to true.