List User Offboardings
List your organization’s user offboardings, newest first. The list includes finished offboardings, and ones started in Lumos instead of through the API.
Narrow the list with filters. To find the offboardings that :cancel accepts, send a status filter with the values scheduled and in-progress. A diverted offboarding is also unfinished, but :cancel returns 409 for it. Contact your Lumos representative to resume or cancel a diverted offboarding.
Of the built-in roles, Admin and Read Only Admin can list offboardings. A custom role can also allow listing. Anyone else gets 403.
Paginated via opaque cursor: pass the next_page_token value from the previous response back as the page_token query parameter to fetch the next page. When next_page_token is null, the current page is the last one. Send the same filters with each page_token. The token doesn’t carry them.
Authorizations
Query Parameters
A JSON array of {field, operator, values} filters. An offboarding must match every filter. To match one filter, it must match any one of the filter's values. Fields:
user_id(EQ): Theids of users, asGET /v1/usersreturns them. A request with an unknownidreturns 404.status(EQ):scheduled,in-progress,diverted,cancelled,failed,expired,completed.
For example, a user's unfinished offboardings: [{"field":"user_id","operator":"EQ","values":["<uuid>"]},{"field":"status","operator":"EQ","values":["scheduled","in-progress","diverted"]}].
Response
Successful Response