---
title: "Modify Windows Service configuration"
method: POST
path: "/v2/device/{id}/windows-service/{serviceId}/configure"
tags: ["management"]
---

# Modify Windows Service configuration

`POST /v2/device/{id}/windows-service/{serviceId}/configure`

## Request

- Base URL: `https://app.ninjarmm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ninjarmm.com/v2/device/{id}/windows-service/{serviceId}/configure`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `sessionKey`
- TypeScript: <https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/docs/v2/device/:id/windows-service/:serviceId/configure/post.ts> (a function with typed inputs; its response is checked against the schema)

Configures Windows Service startup settings

## Path parameters

- `id` integer, required
- `serviceId` string, required

## Request body

- object
  - `startType` 'AUTO_START' | 'AUTO_START_DELAYED' | 'BOOT_START' | 'DEMAND_START' | 'DISABLED' | 'SYSTEM_START': Start Type
  - `userName` string: Username

## Response `default`

default response

---

[API](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0.md) - [All operations](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/revisions/5ce571d1bb71?raw)
