---
title: "Generate installer"
method: POST
path: "/v2/organization/generate-installer"
tags: ["management"]
---

# Generate installer

`POST /v2/organization/generate-installer`

Generates and returns URL for installer with specified settings

## Request body

- object
  - `organizationId` integer — Organization identifier
  - `locationId` integer — Location identifier
  - `installerType` 'WINDOWS_MSI' | 'WINDOWS_ARM64_MSI' | 'MAC_DMG' | 'MAC_PKG' | 'LINUX_DEB' | 'LINUX_RPM' | 'LINUX_ARM64_DEB' | 'LINUX_ARMV7A_DEB' | 'LINUX_ARM64_RPM' | 'LINUX_ARMV7A_RPM' — Agent installer type
  - `usageLimit` integer — Usage limit
  - `content` object — content
    - `nodeRoleId` string — Identifier for the nodeRole target of this installer. Acceptable values include integers, 'auto', or an empty string. If the value is omitted, or an empty string, it defaults to 'auto'.

## Response `default`

default response

- object
  - `url` string — URL

---

[API](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0.md) · [All operations](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjarmm/ninjaone-public-api-2-0/revisions/753f26d46650/schema)
