---
title: "DELETE /companies/{companySlug}/activities/{activityId}"
method: DELETE
path: "/companies/{companySlug}/activities/{activityId}"
tags: ["activities"]
---

# DELETE /companies/{companySlug}/activities/{activityId}

`DELETE /companies/{companySlug}/activities/{activityId}`

## Request

- Base URL: `https://api.fiken.no/api/v2`
- URL: `https://api.fiken.no/api/v2/companies/{companySlug}/activities/{activityId}`
- Auth: OAuth 2
  - Authorization code: `https://fiken.no/oauth/authorize`
  - Token URL: `https://fiken.no/oauth/token`

Delete or archive activity with specified id.

**Behavior:**
- If the activity has no associated time entries and is not set as a default activity on any project, it will be permanently deleted
- If the activity has associated time entries or is set as a default activity on a project, it will be **archived** instead of deleted
- Archived activities are hidden from selection lists but remain accessible for historical time entries

The response is 204 in both cases (deleted or archived).

## Response `204`

Deleted or archived

## Changes

- **2026-03-28** `dff97b55851e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fiken/apis/fiken-api/changes/companies/:companySlug/activities/:activityId/delete.md)

---

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