wafeq_payslips_pay_items_destroy
Delete a pay item from a payslip by providing the payslip ID and pay item ID. Use this endpoint to permanently remove an existing pay item when it is no longer needed.
Instructions
๐ด DESTRUCTIVE ยท deletes ยท Pay Items ยท DELETE /payslips/{payslip_id}/pay-items/{id}/
Delete pay item
Endpoint for deleting an existing pay item.
Permanently removes the record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| payslip_id | Yes | ||
| idempotency_key | No | Optional idempotency key (sent as the X-Wafeq-Idempotency-Key header). A UUID v4 is generated automatically when omitted, so an automatic network retry can never duplicate this operation. Pass your own stable value to make a deliberate re-invocation safe as well. |