DELETE /api/v1/users/
Permanently removes a user from your environment and deletes all associated data. Use this endpoint when you need to completely remove a user account. This action deletes the user’s profile, memberships, and all related data across all organizations.Request
Path Parameters
System-generated user ID. Must start with ‘usr_’ (19-25 characters).
Query Parameters
External system identifier from connected directories. Use this to delete a user by your own ID instead of Scalekit’s ID.
Response
User successfully deleted. No content returned.
Examples
Error Responses
User successfully deleted
User not found
What Gets Deleted
When you delete a user, the following data is permanently removed:- User profile information (name, email, phone, etc.)
- All organization memberships
- User metadata and custom attributes
- External identity connections
- User sessions
- Authentication history
Use Cases
- GDPR/Privacy Compliance: Remove user data when requested
- Account Cleanup: Delete test or inactive accounts
- Security: Remove compromised accounts
- Offboarding: Clean up departed employee accounts