expensify_remove_employees
Remove employees from an Expensify policy by flagging them as terminated. Specify the policy ID and employee details; currently runs in dry-run mode to preview changes.
Instructions
Remove members from a policy. Sets isTerminated on each record, which is how the API removes someone from their assigned policy.
WRITES to Expensify. Dry-run is currently ON — this will preview only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policyID | Yes | Expensify policy (workspace) ID | |
| employees | Yes | ||
| shouldRemoveFromUnassignedPolicies | No | Also remove them from policies not listed here |