Create Windows Custom Policy payload
https://{server-hostname}:8383/api/v1/mdm/profiles/{profile_id}/payloads/windowscustompolicy
MDMDeviceMgmt.CREATECopied!
Authorization: d92d4xxxxxxxxxxxxx15f52
Unique identifier of the profile. Obtain from the Create Profile or Get Profiles response
Syncml Commands
Loc URI for the Custom Configuration
Action type 0 - Add, 1 - Replace, 2 - Delete
Data type of the Loc URI 0 - INT, 1 - FLOAT, 2 - BOOLEAN, 3 - STRING, 4 - XML, 5 - Base64
Base64 Encoded Data String
Position of the Payload Item
Name of the Custom Configuration Item
File Id of the Custom Config Data from the API
Unique identifier of the custom profile data record to associate with the payload
Read only Field, To indicate whether Item is modified
Indicates whether the custom profile data is stored as a binary blob. true if blob, false if plain text/XML
curl --request POST \
--url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/windowscustompolicy \
--header 'Accept: application/json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"syncml_commands":[{"data":"MA==","action_type":"1","loc_uri":"./Device/Vendor/MSFT/Policy/Config/Camera/AllowCamera","data_type":"0","name":"Configuration 1","position":1}]}'Add Custom Policy payload to the profile
{
"syncml_commands": [
{
"data": "MA==",
"action_type": "1",
"loc_uri": "./Device/Vendor/MSFT/Policy/Config/Camera/AllowCamera",
"data_type": "0",
"name": "Configuration 1",
"position": 1
}
]
}
Unique identifier for the created payload item
Syncml Commands
Loc URI for the Custom Configuration
Action type 0 - Add, 1 - Replace, 2 - Delete
Data type of the Loc URI 0 - INT, 1 - FLOAT, 2 - BOOLEAN, 3 - STRING, 4 - XML, 5 - Base64
Base64 Decoded Data String
Position of the Payload Item
Name of the Custom Configuration Item
File Id of the Custom Config Data from the API
Unique identifier of the custom profile data record to associate with the payload
Read only Field, To indicate whether Item is modified
Indicates whether the custom profile data is stored as a binary blob. true if blob, false if plain text/XML
Custom Profile Id
Custom Policy payload successfully added
{
"payload_id": "9007199254741295",
"syncml_commands": [
{
"data": "0",
"action_type": "1",
"loc_uri": "./Device/Vendor/MSFT/Policy/Config/Camera/AllowCamera",
"custom_profile_data_id": "9007199254741070",
"data_type": "0",
"name": "Configuration 1",
"position": "1"
}
],
"custom_profile_id": "9007199254741071"
}
![]()
Duration: 1 minute | Threshold: 30 | 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.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.