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

# Add tags to many test cases

> Assigns every tag in `tagIds` to every test case in `testCaseIds`. Existing assignments are skipped, so the call is idempotent.



## OpenAPI

````yaml POST /test-case/bulk-add-tags
openapi: 3.0.1
info:
  title: Tela API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.tela.com
security: []
paths:
  /test-case/bulk-add-tags:
    post:
      tags:
        - Test Case Tag
      summary: Add tags to many test cases
      description: >
        Assigns every tag in `tagIds` to every test case in `testCaseIds`.
        Existing assignments are skipped, so the

        call is idempotent. Tags and test cases must belong to the same canvas.
        Responds with an empty body.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TestCaseTagBulkRequest'
      responses:
        '200':
          description: Tags assigned. Empty body.
        '400':
          description: Bad request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: >-
            Missing or invalid credentials, or a tag/test case is outside the
            caller's access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Body failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    TestCaseTagBulkRequest:
      type: object
      properties:
        testCaseIds:
          type: array
          items:
            type: string
            format: uuid
        tagIds:
          type: array
          items:
            type: string
            format: uuid
      required:
        - testCaseIds
        - tagIds
    Error: {}
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT or UUID

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.