Skip to main content
Add or remove tags on many measurements

Body

application/json

Add and/or remove tags across many measurements at once.

measurement_ids
string<uuid>[]
required

Measurements to retag (1-1000).

Required array length: 1 - 1000 elements
project_id
string<uuid> | null

When set, every measurement must belong to this project; one outside it rejects the request before anything is written.

add
string[]

Tags to add. A tag the measurement already has is left as is.

remove
string[]

Tags to remove, matched case-insensitively. Applied before add.

Response

Successful Response

Outcome of a bulk tag update.

updated_count
integer
required

Measurements whose tags actually changed.