All Collections
Security, Privacy & Terms
Programmatically delete users
Programmatically delete users
Updated over a week ago

In keeping with June’s commitment to GDPR and CCPA readiness, June offers the ability to delete and suppress data about end-users when they are identifiable by a userId, should they request it from you.


In order to request a data deletion of a user_id you need to send a POST request to our deletion endpoint.

Each request needs to be authenticated like any "track, identify or group call" event.

To authenticate your requests add your API_KEY to the headers of your requests like
Authorisation: Basic #{YOUR_API_KEY}

Parameters

Type

Example value

user_id

string

"abcd-256"

Here's an example curl request to this endpoint:

curl -X POST "https://api.june.so/sdk/user_deletion_request" \
-H "Authorization: Basic YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id":"abcd-256"}'

All deletions are processed asynchronously within 30 days from your request and data is hard deleted in 90 days.

Did this answer your question?