v1

latestOpenAPI 3.1.12026-07-242899061.7 MB
Tagging

Bulk Add Remove Assets

Add and remove tags across multiple assets in a single request with per-asset control.

post/projects/{project_id}/tags/_bulk_tag_assets

Path parameters

project_idstring required

Request body

asset_tagsobject required

Add/Remove options keyed on the asset you would like to be updated

Example request

{
  "asset_tags": {
    "sample.example.com": {
      "add_tags": [
        "tag1",
        "tag2"
      ],
      "remove_tags": [
        "tag3",
        "tag4"
      ]
    }
  }
}

Response

Successful Response