---
title: "Remove Employee From Activity"
method: DELETE
path: "/aurd-tracking/{claim_id}/activities/{activity_id}/employees/{identity_id}"
tags: ["au-rd-tracking"]
---

# Remove Employee From Activity

`DELETE /aurd-tracking/{claim_id}/activities/{activity_id}/employees/{identity_id}`

## Request

- Base URL: `https://api.claimkit.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.claimkit.co/aurd-tracking/{claim_id}/activities/{activity_id}/employees/{identity_id}`
- Auth: none declared

Remove an employee from a single activity.

Two atomic operations:
1. Set activity_id = NULL on every work item belonging to this
   employee under this activity (items go to the "Unassigned" bucket).
2. Delete the cost apportionment row(s) that allocate any % of this
   employee's salary to this activity.

The employee and their other activity associations are untouched.

## Path parameters

- `claim_id` integer, required
- `activity_id` integer, required
- `identity_id` integer, required

## Response `200`

Successful Response

- RemoveEmployeeFromActivityResponse
  - `work_items_unassigned` integer, required
  - `apportionments_removed` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/claimkit/apis/claimkit-api.md) - [All operations](https://skmtc.dev/claimkit/apis/claimkit-api/llms.txt) - [OpenAPI document](https://skmtc.dev/claimkit/apis/claimkit-api/revisions/94dc85ba5326?raw)
