# Create Computer Specific Settings record 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. ## Endpoint `POST /emsapi/osdeployer/computersettings` ## Request ### Request URL https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/emsapi/osdeployer/computersettings ### Scope `DesktopCentralCloud.OSDComputerSettings.CREATE` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers | Name | Type | Required | Value | |---|---|---|---| | Content-Type | string | Mandatory | `application/computerSettingsDetails.v1+json` | | Accept | string | Mandatory | `application/computerSettingsAddedStatus.v1+json` | #### Request Body `application/json` | Attribute | Type | Required | Description | |---|---|---|---| | serialOrMAC | string | Mandatory | Target machine identifier — serial number or MAC address. Length 4-255, alphanumeric/colon/hyphen allowed. | | computerName | string | Mandatory | Computer name to be assigned post-deployment. Matches osd_machinename regex. | | computerDescription | string | Optional | Free-form description for the target machine. Max 1024 chars. | | domainInfo | JSON Object | Mandatory | Domain to join after image deployment. Optional. | | ouInfo | JSON Object | Optional | Organizational Unit placement within the domain. Optional. | | userAccounts | JSON Object | Optional | Local and domain user accounts to provision on the deployed machine. | | userProfileBackup | JSON Object | Optional | User-profile backup to restore on the deployed machine. Optional. | ## Sample Request ```curl 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 ```json { "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" } ``` ## Response Parameters ### HTTP Code 200 Response Body: `application/computerSettingsAddedStatus.v1+json` | Attribute | Type | Description | |---|---|---| | computerSettingsAddedStatus | boolean | True if the CSS record was successfully created. | | computerSettingsIDs | array | List containing the ID of the newly created CSS record. | ## Sample Response: HTTP 200 CSS record created ```json { "computerSettingsAddedStatus": true, "computerSettingsIDs": [ 1234 ] } ``` **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.