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

# Update a tag for a particular team



## OpenAPI

````yaml put /v1/teams/{teamUuid}/tags/{tagUuid}
openapi: 3.0.0
info:
  title: Thena Platform
  description: The Thena Platform API description
  version: 1.0.0
  contact: {}
servers:
  - url: https://platform.thena.ai
    description: Platform
  - url: http://localhost:8000
    description: Local
security:
  - ApiKey: []
tags: []
paths:
  /v1/teams/{teamUuid}/tags/{tagUuid}:
    put:
      tags:
        - Tags
      summary: Update a tag for a particular team
      parameters:
        - name: teamUuid
          required: true
          in: path
          schema:
            type: string
        - name: tagUuid
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTagDto'
      responses:
        '200':
          description: Operation successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateTagsResponse'
        '401':
          description: User is not authenticated!
        '403':
          description: User does not have access to this resource!
        '404':
          description: Resource not found!
        '429':
          description: Too many requests!
        '500':
          description: Something went wrong!
        '503':
          description: This service/resource is currently unavailable.
components:
  schemas:
    UpdateTagDto:
      type: object
      properties:
        name:
          type: string
          description: The name of the tag
          example: Urgent
          minLength: 1
          maxLength: 50
          nullable: true
        color:
          type: string
          description: Color in hexadecimal format
          example: '#FF0000'
          pattern: ^#([A-Fa-f0-9]{6})$
          nullable: true
        description:
          type: string
          description: Optional description of the tag
          example: Used for urgent tickets that need immediate attention
          nullable: true
          maxLength: 255
    UpdateTagsResponse:
      type: object
      properties:
        status:
          type: boolean
          default: true
          description: The status of the response
        message:
          type: string
          default: Success
          description: The message of the response
        timestamp:
          format: date-time
          type: string
          default: '2024-01-01T00:00:00.000Z'
          description: The timestamp of the response
        teamUuid:
          type: string
          description: The team ID
        data:
          description: Updates tags for a particular team.
          allOf:
            - $ref: '#/components/schemas/TagListDto'
      required:
        - status
        - message
        - timestamp
        - teamUuid
        - data
    TagListDto:
      type: object
      properties:
        count:
          type: number
          description: Number of tags
        items:
          description: List of tags
          type: array
          items:
            $ref: '#/components/schemas/Tag'
      required:
        - count
        - items
    Tag:
      type: object
      properties: {}
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Enter your API key '

````