---
title: "Delete Activity"
method: DELETE
path: "/aurd-tracking/{claim_id}/activities/{activity_id}"
tags: ["au-rd-tracking"]
---

# Delete Activity

`DELETE /aurd-tracking/{claim_id}/activities/{activity_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}`
- Auth: none declared

Delete an activity.

Legacy claims: the ``aurd_activities`` row is hard-deleted; work items
become uncategorized via the SET NULL FK.

Activity-map claims (``?source=`` / ``discovery_methodology``): the
``activity_map_activities`` row is soft-deleted (``status='deprecated'``),
its current assignments are released so the items re-enter the
uncategorized queue, and the delete is audited via an Edit row. See
``app.activity_map.edits.delete``. The frontend echoes the tree's resolved
source (``?source=``) so an admin view override can't aim one id space at
the other's tables.

## Path parameters

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

## Query parameters

- `source` 'legacy' | 'activity-map', nullable

## Response `204`

Successful Response

## 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)
