Datto RMM (Extended) icon

Datto RMM (Extended)

Manage Datto RMM (Kaseya): sites, site variables, devices, alerts, components, jobs, audit. Includes idempotent site-variable upsert. AI-agent ready.

Site Variable → Create or Update

AI-generated

Summary

Create or update a site-scoped variable in Datto RMM by specifying the site, the variable name, and the desired value, with optional masking of the value in the UI. The operation will update the variable if it already exists on the specified site, otherwise it will create a new variable.

Inputs

  • Site Name or ID (required) — The Datto RMM site that owns the variable, selectable from existing sites.
  • Name (required) — The variable name to create or update on the specified site.
  • Value (required) — The desired value to assign to the variable.
  • Masked (Hidden in UI) — Optional boolean flag to mask the variable's value in the Datto RMM UI (the value remains accessible via the API).

Output shape

a single object representing the result of the upsert action

Returns an object indicating whether the variable was created, updated, or left unchanged (noop), including the variable name, value, and ID if applicable, along with the raw response from the Datto RMM API for create or update actions.

Examples

Example 1: Upsert a Site Variable

Select the target site, specify a unique variable name, assign the desired value, and optionally choose to mask the value in the UI to hide it from human operators. The operation ensures idempotency by updating any existing variable with the same name rather than creating duplicates.

Links

Discussion