Skip to main content

Removing access

To remove shared access to a group, you need to delete the share the user is assigned to. First, we recommend to find the user's shares and having the share_id you can delete the share.

To find all your organization shares, execute this request:

curl 'https://api.kisi.io/shares' \
-H 'Accept: application/json' \
-H 'Authorization: KISI-LOGIN authentication_token'

Look for you user's email in the user object of each share and the group the user is assigned to in that share, and then copy the id of the share you want to remove.

The API call for deleting the share looks as follows:

curl -X DELETE 'https://api.kisi.io/shares/{share_id}' \
-H 'Accept: application/json' \
-H 'Authorization: KISI-LOGIN authentication_token'