Create Computer Specific Settings record

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Creates a new CSS record targeting a specific machine by Serial Number or MAC address, overriding deployment template defaults — such as computer name, domain, OU, user accounts, and profile backup — for a single endpoint.

Request URL

https://{serverurl}/emsapi/osdeployer/computersettings

Scope

DesktopCentralCloud.OSDComputerSettings.CREATECopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

Content-TypestringMandatory
application/computerSettingsDetails.v1+jsonapplication/computerSettingsDetails.v1+jsonCopied!
AcceptstringMandatory
application/computerSettingsAddedStatus.v1+jsonapplication/computerSettingsAddedStatus.v1+jsonCopied!

- Request Body

application/json
JSON Object
Hide Sub-Attributes
serialOrMACstringMandatory

Target machine identifier — serial number or MAC address. Length 4-255, alphanumeric/colon/hyphen allowed.

computerNamestringMandatory

Computer name to be assigned post-deployment. Matches osd_machinename regex.

computerDescriptionstringOptional

Free-form description for the target machine. Max 1024 chars.

domainInfoJSON ObjectMandatory

Domain to join after image deployment. Optional.

Show Sub-Attributes
domainIDlongMandatory

Internal ID of the configured Active Directory domain.

domainNamestringMandatory

DNS name of the AD domain to join (e.g., corp.example.com).

credentialIDlongMandatory

ID of the stored credential used to join the domain.

ouInfoJSON ObjectOptional

Organizational Unit placement within the domain. Optional.

Show Sub-Attributes
ouNamestringOptional

Friendly name of the target Organizational Unit.

distinguishedNamestringOptional

Full LDAP distinguished name of the target OU.

userAccountsJSON ObjectOptional

Local and domain user accounts to provision on the deployed machine.

Show Sub-Attributes
localUsersJSON ObjectOptional

Local user IDs to provision on the deployed machine.

Show Sub-Attributes
userIDsarrayOptional

IDs of pre-configured local users in OS Deployer. Max 5000 entries.

domainUsersJSON ArrayOptional

Domain users / groups to add to the machine. Max 5000 entries.

Show Sub-Attributes
JSON Object
Show Sub-Attributes
userNamestringOptional

SAM account name of the domain user.

groupNamestringOptional

Local group on the deployed machine to add the user to (e.g., Administrators).

guidstringOptional

Object GUID of the domain user, used for lookup if userName changes.

deleteExistingUsersbooleanOptional

If true, existing local accounts are removed before applying this configuration.

userProfileBackupJSON ObjectOptional

User-profile backup to restore on the deployed machine. Optional.

Show Sub-Attributes
backupIDlongOptional

ID of the user-profile backup set to restore.

userProfilesJSON ArrayOptional

Individual user profiles to restore from the backup. Min 1, max 5000.

Show Sub-Attributes
JSON Object
Show Sub-Attributes
backupUserIDlongOptional

ID of the backed-up user profile to restore.

passwordstringOptional

Password to set for the restored profile. SECRET — never logged.

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request POST \
  --url https://appdomains/emsapi/osdeployer/computersettings \
  --header 'Accept: application/computerSettingsAddedStatus.v1+json' \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52' \
  --header 'Content-Type: application/computerSettingsDetails.v1+json' \
  --data '{"domainInfo":{"domainName":"corp.example.com","credentialID":50,"domainID":1001},"computerName":"WIN-DESK-001","serialOrMAC":"AA:BB:CC:DD:EE:FF"}'

Sample Request Body

CSS with domain-join post-actions, local user assignments, and user-profile backup restore

Copied!
  {
    "userProfileBackup": {
      "backupID": 9001,
      "userProfiles": [
        {
          "password": "********",
          "backupUserID": 7
        }
      ]
    },
    "domainInfo": {
      "domainName": "corp.example.com",
      "credentialID": 50,
      "domainID": 1001
    },
    "computerName": "WIN-DESK-001",
    "serialOrMAC": "AA:BB:CC:DD:EE:FF",
    "ouInfo": {
      "distinguishedName": "OU=Sales,DC=corp,DC=example,DC=com",
      "ouName": "Sales"
    },
    "userAccounts": {
      "deleteExistingUsers": false,
      "localUsers": {
        "userIDs": [
          1,
          2
        ]
      },
      "domainUsers": [
        {
          "groupName": "Administrators",
          "guid": "abc-123",
          "userName": "jdoe"
        }
      ]
    },
    "computerDescription": "Sales laptop"
  }
                
Show full

Response Parameters

- HTTP code 200

Response Body - application/computerSettingsAddedStatus.v1+json
JSON Object
Hide Sub-Attributes
computerSettingsAddedStatusboolean

True if the CSS record was successfully created.

computerSettingsIDsarray

List containing the ID of the newly created CSS record.

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

CSS record created

Copied!
  {
    "computerSettingsAddedStatus": true,
    "computerSettingsIDs": [
      1234
    ]
  }
                
Show full

Duration: 1 minute | Threshold: 50 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.