Eligibles

Enqueue a bulk deletion of eligible employees

This only enqueues the operation — a successful response does not mean the items were processed. Check the real outcome with GET /api/v1/operations/{id}.

Removes multiple eligible employees from the company group asynchronously. Maximum of 200 items per request.

post/api/v1/eligibles/bulk_delete

Request

  • Base URL
    https://company-eligibles-api.totalpass.com
  • URL
    https://company-eligibles-api.totalpass.com/api/v1/eligibles/bulk_delete
  • Auth
    HTTP bearer

Request body

sourcestring

Optional identifier for the request origin

Example request

{
  "source": "hr-system",
  "data": [
    {
      "eligible_identifier": "12345678901"
    }
  ]
}

Response

Operation enqueued successfully — this does not indicate the items were processed; poll GET /api/v1/operations/{id} for the result.

idinteger required

Operation ID used to track progress

created_atstring date-time required
status'pending' | 'processing' | 'finished' | 'finished_with_errors' | 'invalidated' required

Current status of the operation. A successful response here only means the request was accepted — poll GET /api/v1/operations/{id} to confirm when it actually finishes and see per-item results.

Example response

{
  "id": 43,
  "created_at": "2026-05-21T10:00:00.000Z",
  "status": "pending"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.