NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Location → Get Many

AI-generated

Summary

Retrieve all locations associated with a specified organization from the NinjaOne platform.

Inputs

  • Authentication — Choose the authentication method: OAuth2 (Authorization Code) or Client Credentials. Defaults to OAuth2.
  • Organization ID (required) — The ID of the organization for which to fetch all locations.

Output shape

a list of location objects associated with the specified organization

Returns all locations for the given organization ID. Pagination is not explicitly handled for this operation, as it fetches locations from the endpoint '/api/v2/organization/{organizationId}/locations'. If the organization has many locations, all will be returned in a single API response.

Links

Discussion