Modify the configuration of a Directory Binding payload item within a profile

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

To modify Mac Directory Bind policy payload item

Request URL

https://{serverurl}/api/v1/mdm/profiles/{profile_id}/payloads/macdirectorybindpolicy/payloaditems/{payload_id}

Scope

MDMOnDemand.MDMDeviceMgmt.UPDATECopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Path Parameters

profile_idstringMandatory

Unique identifier of the profile. Obtain from the Create Profile or Get Profiles response

payload_idstringMandatory

Unique identifier of the payload item. Obtain from the Get Payload Item IDs response

- Request Body

application/json
JSON object
Hide Sub-Attributes
bind_policy_idlongMandatory

Bind Policy Id. Obtain from the Add Bind Policy Template response

object_namestringOptional

Object Name

adminprivilegeadgrouparrayOptional

List of Active Directory group name strings granted admin privileges

adbindoustringMandatory

Adbindou

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request PUT \
  --url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/macdirectorybindpolicy/payloaditems/{payload_id} \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"adbindou":"value","bind_policy_id":1}'
▼ Show full

Sample Request Body

Modify Directory Binding payload item

Copied!
  {
    "adbindou": "value",
    "object_name": "Zylker User",
    "bind_policy_id": 1,
    "adminprivilegeadgroup": [
      "Domain Admins"
    ]
  }
                
▼ Show full

Response Parameters

- HTTP code 200

Response Body - application/json
JSON object
Hide Sub-Attributes
payload_idlong

Unique identifier of the payload item

bind_policy_idlong

Bind Policy Id

object_namestring

Object Name

adminprivilegeadgrouparray

List of Active Directory group name strings granted admin privileges

adbindoustring

Adbindou

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Directory Binding payload item successfully modified

Copied!
  {
    "adbindou": "value",
    "payload_id": 9007199254741000,
    "object_name": "Zylker User",
    "bind_policy_id": 1,
    "adminprivilegeadgroup": [
      "Domain Admins"
    ]
  }
                
▼ Show full

Duration: 1 minute | Threshold: 60 | 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.