Modify the configuration of a Font 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 Font policy payload item

Request URL

https://{serverurl}/api/v1/mdm/profiles/{profile_id}/payloads/macfontpolicy/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
font_namestringOptional

Display name of the font to install on the device

font_file_idlongOptional

File ID of the uploaded font file. Use the fileID from the File Upload API response

font_idlongOptional

Identifier of an existing font entry to associate with this payload

Sample Request

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

Sample Request Body

Modify Font payload item

Copied!
  {
    "font_id": 1,
    "font_file_id": "value",
    "font_name": "Zylker User"
  }
                
▼ Show full

Response Parameters

- HTTP code 200

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

Unique identifier of the payload item

font_namestring

Display name of the installed font

font_file_idlong

File ID of the uploaded font file

font_idlong

Identifier of the associated font entry

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Font payload item successfully modified

Copied!
  {
    "payload_id": 9007199254741000,
    "font_id": 1,
    "font_file_id": "value",
    "font_name": "Zylker User"
  }
                
▼ 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.