Users
📄️ /users/me
Retrieves the current authenticated user's profile information
📄️ /users/signup
Creates a new user account
📄️ /users/tasks/{task_id}/status
Retrieves the status of a deletion task (user or enterprise).<br/>This endpoint is public to allow checking status after user deletion.<br/><br/>Example Response (Success):<br/>{<br/> 'status': 'success',<br/> 'message': 'Deletion completed successfully',<br/> 'result': {<br/> 'status': 'success',<br/> 'message': 'User deleted successfully. Enterprise Test Enterprise (ID: 123) '<br/> 'was also deleted as it had no remaining users.',<br/> 'user': '...',<br/> 'enterprise_deleted': true<br/> }<br/>}<br/><br/>Example Response (Processing):<br/>{<br/> 'status': 'processing',<br/> 'message': 'Deletion task is still processing'<br/>}
📄️ /users/{user_id}
THIS WILL PERMANENTLY DELETE A USER AND ALL ASSOCIATED OBJECTS<br/>If this is the last user in the enterprise, the enterprise will also be deleted.<br/>Only Chrome extension users can be deleted through this endpoint.<br/>Queues a user deletion task and returns a task ID for status polling<br/><br/>Example Response:<br/>{<br/> 'status': 'success',<br/> 'message': 'User deletion queued successfully. '<br/> 'This is the last user in the enterprise, so the enterprise will also be deleted.',<br/> 'task_id': '59613bb6-43c2-483b-a24b-27f01151f9e0',<br/> 'will_delete_enterprise': true<br/>}