activities
DELETE /companies/{companySlug}/activities/{activityId}
Changed onDelete 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).
Request
- Base URLhttps://api.fiken.no/api/v2
- URLhttps://api.fiken.no/api/v2/companies/{companySlug}/activities/{activityId}
- AuthOAuth 2Authorization code: https://fiken.no/oauth/authorizeToken URL: https://fiken.no/oauth/token
Response
Deleted or archived
Changes
- info
endpoint added
- info