Esri's Geotrigger Service is replacing Geoloqi! Learn More | FAQ

user/secure_delete/:id

Contents

URL

https://api.geoloqi.com/1/user/secure_delete/:id

Description

Securely delete a user and all associated user data. This will erase all profile data, all location history, and all groups, layers, places and triggers created by this user.

Supported Request Methods

POST

Authentication

This method must be run with the application's API Key and Secret. See Authentication for more details.

Note: Your application must be whitelisted to use the secure_delete method. Please contact us to request your application be approved to use this.

How to Use

First, make a request to `user/secure_delete/:id`, and you will get back a token.

POST user/secure_delete/XXXX

{
  "token":"BM6RHCS38A1RQv9rv_fE"
}

Then, post to the same path again with the token in the query string or post body.

POST user/secure_delete/XXXX
token=BM6RHCS38A1RQv9rv_fE

{
  "delete":"queued",
  "status":"This user has been queued to be deleted"
}

The user will be queued to be deleted. If you make the same request again you will get the status of the delete.

POST user/secure_delete/XXXX
token=BM6RHCS38A1RQv9rv_fE

{
  "delete":"queued",
  "status":"This user has already been queued to be deleted"
}

Once the delete process begins you will get back a different status:

{
  "delete":"in_progress",
  "status":"This user is currently being deleted"
}

When the delete is complete, you will see this:

{
  "delete":"successful",
  "status":"This user has been successfully deleted"
}