Skip to main content
DELETE
/
test
/
users
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]"
  }'
(No response body)
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]"
  }'
(No response body)

Request body

email
string
required
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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string<email>
required

Email address of the test user to delete

Response

User deleted successfully