Add a new Font payload configuration to an existing 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 create Mac Font policy

Request URL

https://{serverurl}/api/v1/mdm/profiles/{profile_id}/payloads/macfontpolicy

Scope

MDMOnDemand.MDMDeviceMgmt.CREATECopied!

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

- 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 POST \
  --url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/macfontpolicy \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{}'
Show full

Sample Request Body

Add Font payload to the profile

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 for the created 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 HTTP Status Codes

200HTTP code

Sample Response: HTTP 200

Font payload successfully added

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

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.