# Modify the configuration of a Font payload item within a profile To modify Mac Font policy payload item ## Endpoint `PUT /api/v1/mdm/profiles/{profile_id}/payloads/macfontpolicy/payloaditems/{payload_id}` ## Request URL https://[{serverurl}](https://www.manageengine.com/mobile-device-management/help/api/cloud/oauth-authentication-endpoint-domain.html)/api/v1/mdm/profiles/{profile_id}/payloads/macfontpolicy/payloaditems/{payload_id} ## Scope `MDMOnDemand.MDMDeviceMgmt.UPDATE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Path Parameters - **profile_id** `string` — Mandatory - Unique identifier of the profile. Obtain from the [Create Profile](https://www.manageengine.com/mobile-device-management/help/api/cloud/profiles-create-profile.html) or [Get Profiles](https://www.manageengine.com/mobile-device-management/help/api/cloud/profiles-get-profile.html) response. - **payload_id** `string` — Mandatory - Unique identifier of the payload item. Obtain from the [Get Payload Item IDs](https://www.manageengine.com/mobile-device-management/help/api/cloud/mac-get-font-payload-mac.html) response. ### Request Body `application/json` JSON object: - **font_name** `string` — Optional - Display name of the font to install on the device. - **font_file_id** `long` — Optional - File ID of the uploaded font file. Use the fileID from the [File Upload API](https://www.manageengine.com/mobile-device-management/help/api/cloud/files-upload-file-ems.html) response. - **font_id** `long` — Optional - Identifier of an existing font entry to associate with this payload. ## Sample Request ```curl 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 '{}' ``` ## Sample Request Body Modify Font payload item ```json { "font_id": 1, "font_file_id": "value", "font_name": "Zylker User" } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` JSON object: - **payload_id** `long` - Unique identifier of the payload item. - **font_name** `string` - Display name of the installed font. - **font_file_id** `long` - File ID of the uploaded font file. - **font_id** `long` - Identifier of the associated font entry. ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 Font payload item successfully modified ```json { "payload_id": 9007199254741000, "font_id": 1, "font_file_id": "value", "font_name": "Zylker User" } ``` ## API Rate Limits ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **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.