- Batch close accounts
Confirm user verification
Get user details
Change user email
Change user mobile number
Change user name
Pause user enrollment
Resume user enrollment
Batch pause user enrollments
Batch resume user enrollments
Move user to different host
Close account by user ID
Close account by email
Store user identity
Batch close accounts
Submits a batch request to close multiple user accounts. Users are added to the unenrollment queue and processed asynchronously.
Requirements:
- Users must be active
- Users must belong to the host associated with the authentication token
Limits: Only one batch request can be in progress per host.
Security
directToken
- Production Server URLhttps://efx-wgt.stitchcredit.com/api/direct/close-accounts
- Development Server URLhttps://efx-dev.stitchcredit.com/api/direct/close-accounts
Batch User IDs
curl -i -X POST \
https://efx-wgt.stitchcredit.com/api/direct/close-accounts \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '[
"550e8400-e29b-41d4-a716-446655440000",
"660e8400-e29b-41d4-a716-446655440001"
]'Response
Fully Accepted
{ "status": "accepted", "message": "Your request has been received and will be processed shortly", "submittedAt": "2024-01-15T10:30:00", "errors": [] }