Kimai icon

Kimai

Interact with Kimai time-tracking API

Team → Grant Activity Access

AI-generated

Summary

Assigns a specific Kimai activity to a team, granting that team access to track time against it.

Inputs

  • id (required) — The Team ID to assign the activity to.
  • activityId (required) — The Activity ID to be granted access.
  • requestOptions — HTTP request options including batching, timeout, and proxy settings.

Output shape

no body — success/failure only

Returns standard HTTP response codes; success (201) indicates access was granted.

Examples

Example 1: Assign a project activity to a team

Set Team ID to '1' and Activity ID to '5'.

Example 2: Batch multiple access grants

Enable Batching with a batch size of 10 and an interval of 500ms.

Discussion