Bulk detach tags from an entity

POST /api/v1/entity-tags/bulk-detach

Remove multiple tags from a single entity at once

Operation ID: bulk_detach_tags_api_v1_entity_tags_bulk_detach_post · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

tag_ids array · string required

List of tag UUIDs to remove

model_type string required

Type of entity (transaction, invoice, bill, etc.)

model_id string required

UUID of the entity

Responses

201 Successful Response

entity_tags array · EntityTagResponse EntityTagResponse

List of entity tags

7 fields
id string required

Unique identifier for the entity tag

tag_id string required

UUID of the tag

tag_name string required

Name of the tag

tag_group_name string

Name of the tag group (if any)

model_type string required

Type of entity this tag is attached to

model_id string required

UUID of the entity

created_at string · date-time required

Timestamp when the tag was attached

count integer required

Total number of entity tags

400 Bad Request - Invalid input

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object