Removing user data

Removing user data according to GDPR

You can remove the Che user’s data using the Che API. Following this procedure makes the service compliant to EU General Data Protection Regulation (GDPR) that enforces the right for individuals to have personal data erased.

Prerequisites
Procedure
  1. Get the <username> user <id> id: navigate to https://<che-host>/swagger/#/user/find_1, click Try it out, set name: <username>, and click Execute. Scroll down the Response body to find the id value.

  2. Remove the <id> user data that Che server manages, such as user preferences: navigate to https://<che-host>/swagger/#/user/remove, click Try it out, set id: <id>, and click Execute. Expect a 204 response code:

  3. Delete the user namespace to remove all Kubernetes resources bound to the user, such as workspaces, secrets, and configmaps.

    $ kubectl delete namespace <username>-che