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 → Update location

AI-generated

Summary

Update the details of a specific location within an organization by its id and locationId.

Inputs

  • id (required) — The ID of the organization to which the location belongs.
  • locationId (required) — The ID of the location to update.
  • additionalFields — Optional fields to update on the location, such as name, address, description, and userData (custom attributes).
  • options — Optional request settings including custom request body (which overrides other fields), custom HTTP headers, query parameters, batching options, debugging, pagination settings, and request timeout.

Output shape

a single JSON object representing the updated location data returned by the NinjaOne API.

The response includes the updated location details. Enabling the Debug option adds the full HTTP request data to the output for troubleshooting. Batch processing is supported when multiple update requests are needed.

Links

Discussion