These test endpoints are only available in development and staging environments. They are disabled in production for security reasons.
Delete a test user account by email address. This endpoint is useful for cleaning up test data after running test scenarios.
curl -X DELETE 'https://api.sandbox.wealthyhood.com/test/users' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_M2M_TOKEN' \
-d '{
"email": "[email protected]"
}'
Request body
Email address of the test user to delete. Must match an existing user in the system.
Use this endpoint to clean up test users after completing your test scenarios to keep your sandbox environment tidy.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Email address of the test user to delete
User deleted successfully