---
title: "Override transaction tag"
method: PUT
path: "/v2/analytics/book/{book_uuid}/transactions"
tags: ["Tag Management"]
---

# Override transaction tag

`PUT /v2/analytics/book/{book_uuid}/transactions`

This API allows you to manually override the tags applied to a transaction within a specific Book. You can assign one or more tag UUIDs to a transaction using its primary key (`txn_pk`).

## Path parameters

- `book_uuid` string, uuid, required

## Request body

- object
  - `txns` object[]
    - `txn_pk` integer — Primary key of the transaction whose tags are being overridden.
    - `tags` object[]
      - `tag_uuid` string, uuid — The UUID of the tag to apply.
      - `apply_to_txn` boolean — Must be set to true to apply the tag and set to false to remove the tag.

## Response `204`

Tag Override Successful

- unknown

## Other responses

- `400` — Client Errors
- `403` — Client Errors
- `404` — Client Errors
- `415` — Client Errors

---

[API](https://skmtc.net/ocrolus/apis/user-management.md) · [All operations](https://skmtc.net/ocrolus/apis/user-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ocrolus/user-management/revisions/3571ef602d13/schema)
