NinjaOne icon

NinjaOne

Ninja One Public API documentation. <br><br>See also: <br> <a href="https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Device+Filter+Syntax.pdf">Device Filter syntax</a><br><a href="https://app.ninjarmm.com/apidocs-beta/core-resources/articles/webhooks/overview">Webhooks</a>

Actions309

AssetTags → Delete an Asset Tag

AI-generated

Summary

Delete an asset tag identified by its numeric tag ID from NinjaOne.

Inputs

  • Tag Id (required) — The numeric ID of the asset tag to delete.
  • Options — Optional settings including custom JSON body to override defaults, custom HTTP headers, query string filters, batching parameters, debug mode toggle, pagination settings (generally unused for delete), and request timeout.

Output shape

A JSON object representing the API response of the delete operation, typically indicating success or failure status. If debug mode is enabled, includes request details such as URL, headers, query parameters, and body.

The output will include the API response, which may confirm deletion. When debug is enabled, additional diagnostic output is provided. Batching and pagination options exist but have limited use for this delete operation.

Examples

Example 1: Remove a specific asset tag by its ID to clean up unused tags.

Provide the 'Tag Id' parameter with the appropriate numeric tag identifier.

Links

Discussion