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

Management → Add new location to organization

AI-generated

Summary

Add a new location to an existing organization by specifying its ID and optional location details such as name, address, description, and custom user data.

Inputs

  • id (required) — The numeric ID of the organization where the new location will be added.
  • additionalFields — Optional fields to define the new location's details, including name, address, description, and custom user data as JSON.
  • options — Optional settings for request customization, including custom request body JSON (which overrides other fields if provided), custom HTTP headers, query filters, batching parameters, debug mode, pagination settings, and request timeout duration.

Output shape

a single JSON object representing the newly created location, including details as returned by the API

The response contains the API's JSON payload for the created location; enabling debug outputs additional request details. The operation handles a single location creation per call, supports batching via options, and respects request customization in options.

Links

Discussion