{
  "opencollection": "1.0.0",
  "info": {
    "name": "Xentral Account Tag API",
    "version": "v0.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Tag",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List tags",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{xentralId}.xentral.biz/api/v2/tags",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "order",
                "value": "",
                "type": "query"
              },
              {
                "name": "filter",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Lists all tags"
        },
        {
          "info": {
            "name": "Create a new tag",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{xentralId}.xentral.biz/api/v2/tags",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new tag."
        },
        {
          "info": {
            "name": "Update multiple tags",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{xentralId}.xentral.biz/api/v2/tags",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update multiple tags"
        },
        {
          "info": {
            "name": "Delete tags",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{xentralId}.xentral.biz/api/v2/tags",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deletes tags"
        },
        {
          "info": {
            "name": "Assign tags to multiple resources",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{xentralId}.xentral.biz/api/v2/:resourceTagAssignments",
            "params": [
              {
                "name": "resource",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Bulk assigns tags to multiple resources"
        },
        {
          "info": {
            "name": "Remove tags from multiple resources",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{xentralId}.xentral.biz/api/v2/:resourceTagAssignments",
            "params": [
              {
                "name": "resource",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Bulk removes tags from multiple resources"
        }
      ]
    }
  ],
  "bundled": true
}