Kimai icon

Kimai

Interact with Kimai time-tracking API

Team → Update

AI-generated

Summary

Updates an existing Kimai team's configuration, including name, members, and color.

Inputs

  • id (required) — The ID of the team to update.
  • name (required) — The new name for the team.
  • members (required) — A JSON array of team members, each containing a user ID and a teamlead flag (e.g., [{"user": 1, "teamlead": false}]).
  • color — The new color code for the team.
  • requestOptions — Options for HTTP requests, including batching, timeout, and proxy settings.

Output shape

a single item containing the updated team record

Sends a PATCH request to the Kimai API at /api/teams/{id}. The members parameter is sent as the 'members' field.

Examples

Example 1: Update a team's name and color

Set Resource to 'Team', Operation to 'Update', provide Team ID, Name, and Color.

Example 2: Replace the entire member list of a team

Set Resource to 'Team', Operation to 'Update', provide Team ID and a JSON array for Members.

Discussion