activities

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

Changed on

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

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

Response

Deleted or archived

Changes