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

# Detaches tags from a record



## OpenAPI

````yaml https://app.chemcloud.com.au/api-docs/public/buyer/v1/openapi.yaml delete /api/public/buyer/v1/taggings
openapi: 3.0.1
info:
  title: ChemCloud Buyer API
  version: v1
  description: >
    ## Rate limits


    | Scope | Limit |

    |---|---|

    | Requests per API key | 6,000 per minute |

    | Requests with no `X-API-KEY` header, per IP address | 30 per minute |

    | Invalid API keys, per IP address | 20 in 10 minutes, then a 1 hour ban |


    A throttled request returns `429 Too Many Requests` with a JSON body

    `{"error": "Too many requests. Retry in N seconds."}` and a `Retry-After`
    header (seconds).

    A banned IP address returns `429` with `Retry-After: 3600` for every request
    until the ban expires.
servers:
  - url: https://app.chemcloud.com.au
    description: Production
security: []
paths:
  /api/public/buyer/v1/taggings:
    delete:
      tags:
        - Taggings
      summary: Detaches tags from a record
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                taggable_type:
                  type: string
                  enum:
                    - BuyerProduct
                    - BuyerProductApproval
                    - Delivery
                    - NonConformanceReport
                    - Shipment
                    - SourcingRequest
                taggable_id:
                  type: string
                  format: uuid
                  example: 99999a99-b888-777c-666d-55555555555e
                tag_ids:
                  type: array
                  items:
                    type: string
                    format: uuid
              required:
                - taggable_type
                - taggable_id
                - tag_ids
      responses:
        '200':
          description: Tags detached
          content:
            application/json:
              schema:
                type: object
                properties:
                  taggable_type:
                    type: string
                    enum:
                      - BuyerProduct
                      - BuyerProductApproval
                      - Delivery
                      - NonConformanceReport
                      - Shipment
                      - SourcingRequest
                  taggable_id:
                    type: string
                    format: uuid
                    example: 99999a99-b888-777c-666d-55555555555e
                  removed_tag_ids:
                    type: array
                    items:
                      type: string
                      format: uuid
                  tags:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                          example: 99999a99-b888-777c-666d-55555555555e
                        name:
                          type: string
                          example: Urgent
                        category:
                          type: string
                          enum:
                            - custom
                            - buyer_product_category
                          example: custom
                        tag_group:
                          type: object
                          nullable: true
                          properties:
                            id:
                              type: string
                              format: uuid
                              example: 99999a99-b888-777c-666d-55555555555e
                            name:
                              type: string
                              example: Priority
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-KEY

````

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