Actions45
- Account Actions
- Account Variable Actions
- Site Actions
- Site Variable Actions
- Device Actions
- Alert Actions
- Component Actions
- Job Actions
- User Actions
- Audit Actions
Account Variable → Create
AI-generatedSummary
Create a new Datto RMM account-level variable by specifying its name, value, and optional masking.
Inputs
- Name (required) — The variable name to be created.
- Value (required) — The variable value, accepting up to 20,000 characters.
- Masked (Hidden in UI) — Optionally mask the variable value in the Datto RMM user interface to hide it visually.
Output shape
a single object representing the newly created account variable
The operation uses HTTP PUT to the '/api/v2/account/variable' endpoint and returns the created variable object. The 'Masked' field affects UI visibility but the value can still be accessed via API.