Skip to main content

Delete a user

DELETE 

/api/v1/admin/users/:id

Starts permanently deleting a user and all of their data, and returns at once. The user is locked out immediately: sessions, API tokens, GPS sources, shares and friendships are removed. The data is then deleted in the background; follow it with GET /admin/users/{id}/deletion or the deletion field of the user. Repeating the request returns the deletion in progress. Administrators cannot delete their own account or the last active administrator. This cannot be undone. The request is recorded in the audit log.

Access: Administrators only.

Request​

Responses​

Deletion started