Implemented 12/1/2026 Bram Vandeperre

1

Votes

API endpoints to add and remove tags on assets

We sync our laptop inventory from Intune into JitBit assets automatically through the REST API. We'd like the sync to keep tags on each asset, such as a location tag or a state tag (stock-asset, used-asset, transit-asset). Clicking tags would then give a quick list of -for example- all in-stock assets in one office.

The API can't set or remove tags on assets today:
  • GET /api/Asset?id= already returns the asset's tags, so the data is there.
  • Tickets have TagTicket, and UpdateTicket accepts a tags list.
  • For assets there is no equivalent, and UpdateAsset ignores a tags parameter.

We'd like:
  • POST /api/TagAsset (assetId, name) to add a tag to an asset, like TagTicket.
  • POST /api/UntagAsset (assetId, name) to remove one tag from an asset.
  • Alternatively, a tags parameter on UpdateAsset that replaces the asset's tags, as UpdateTicket does.

Nice to have:
  • Tags included in the GET /api/Assets list response.
  • A tagName filter on GET /api/Assets like the one on GET /api/Tickets.
A matching endpoint to remove a single tag from a ticket would also be welcome.

Thanks!
Bram

Log in to comment...