Actions45
- Account Actions
- Account Variable Actions
- Site Actions
- Site Variable Actions
- Device Actions
- Alert Actions
- Component Actions
- Job Actions
- User Actions
- Audit Actions
Site Variable → Create
AI-generatedSummary
Create a site-scoped Datto RMM variable with a unique name and value. You can optionally mask the value in the Datto RMM UI; the API still returns it.
Inputs
- Site Name or ID (required) — Select the site that owns the variable; the options are loaded from Datto RMM.
- Name (required) — Variable key, which must be unique on the selected site.
- Value (required) — Variable value, up to 20,000 characters.
- Masked (Hidden in UI) — Whether to mask the value in the Datto RMM UI. Defaults to false; masking does not prevent API reads.
Output shape
A single record containing the API response for the created variable.
The operation sends a PUT request to create the variable. Datto RMM rejects a name that already exists on the site; use the Site Variable → Create or Update operation for upsert behavior.