> ## Documentation Index
> Fetch the complete documentation index at: https://api.tipee.ch/llms.txt
> Use this file to discover all available pages before exploring further.

# Update

> Updates an existing team.



## OpenAPI

````yaml preview post /api/directory/teams.update
openapi: 3.1.0
info:
  title: tipee
  version: preview
servers: []
security:
  - basicAuth: []
tags:
  - name: Activity
    description: Activity
  - name: Balances
    description: Balances
  - name: Directory
    description: Directory
  - name: Schedule
    description: Schedule
  - name: Timeclock
    description: Timeclock
paths:
  /api/directory/teams.update:
    post:
      tags:
        - Directory
      summary: Update
      description: Updates an existing team.
      operationId: post_app_ui_api_directory_directorycommand_updateteam
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTeamCommand'
      responses:
        '204':
          description: Team updated.
components:
  schemas:
    UpdateTeamCommand:
      required:
        - id
      properties:
        id:
          $ref: '#/components/schemas/Snowflake'
        name:
          type: string
        short_name:
          description: Can be provided only for sectors
          type: string
        color:
          description: Can be provided only for sectors
          type: string
        external_id:
          description: Can be provided only for sectors and sites
          type: string
      type: object
    Snowflake:
      type: string
      format: snowflake
      example: '872815618512410358'

````