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 → Modify Windows Service configuration

AI-generated

Summary

Modify the configuration of a Windows service on a specified device by setting parameters such as start type and user name via the device and service identifiers.

Inputs

  • id (required) — The numeric identifier of the device whose Windows service configuration will be modified.
  • serviceId (required) — The identifier string of the Windows service to be configured on the specified device.
  • additionalFields — Optional fields including 'Start Type' (options like AUTO_START, DISABLED, etc.) and 'User Name' to update service configuration details.
  • options — Optional settings to customize the request such as sending a custom JSON body (which overrides other fields), adding custom HTTP headers, adding query parameters, batching settings for multiple inputs, debug mode output, pagination controls, and request timeout.

Output shape

a JSON object representing the API response of the configuration update operation

The response includes details of the updated Windows service configuration. If debug is enabled, additional information about the HTTP request made is included under a debug entry. No pagination applies as this is a single update operation; batching options control how multiple input items are processed.

Links

Discussion