# Retrieve the full configuration details of a Restrictions payload item To get Mac Restrictions policy payload item ## Endpoint `GET /api/v1/mdm/profiles/{profile_id}/payloads/macrestrictionspolicy/payloaditems/{payload_id}` ## Request ### Request URL `https://{server-hostname}:8383/api/v1/mdm/profiles/{profile_id}/payloads/macrestrictionspolicy/payloaditems/{payload_id}` ### Scope `MDMDeviceMgmt.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** (`string`, mandatory): `application/json` #### Path Parameters - **profile_id** (`string`, mandatory): Unique identifier of the profile. Obtain from the [Create Profile](https://www.manageengine.com/products/desktop-central/help/api/onpremise/mdm-profiles-create-profile.html) or [Get Profiles](https://www.manageengine.com/products/desktop-central/help/api/onpremise/mdm-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/products/desktop-central/help/api/onpremise/ios-get-restrictions-payload-ios.html) response. ### Sample Request ```curl curl --request GET \ --url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/macrestrictionspolicy/payloaditems/{payload_id} \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 Response body: `application/json` - **payload_id** (`long`): Unique identifier of the payload item. - **allow_game_center** (`boolean`): Allow Game Center. Default: true. - **allow_modifi_wallpaper** (`boolean`): Allow Modifi Wallpaper. Default: true. - **allow_use_of_camera** (`boolean`): Allow Use Of Camera. Default: true. - **allow_cloud_document_sync** (`boolean`): Allow Cloud Document Sync. Default: true. - **allow_cloud_keychain_sync** (`boolean`): Allow Cloud Keychain Sync. Default: true. - **allow_touch_id** (`boolean`): Allow Touch Id. Default: true. - **safari_allow_autofill** (`boolean`): Safari Allow Autofill. Default: true. - **allow_spotlight_result** (`boolean`): Allow Spotlight Result. Default: true. - **force_assist_profanity_filter** (`boolean`): Force Assist Profanity Filter. Default: false. - **allow_activity_continuation** (`boolean`): Allow Activity Continuation. Default: true. - **allow_dictionary_lookup** (`boolean`): Allow Dictionary Lookup. Default: true. - **allow_music_service** (`boolean`): Allow Music Service. Default: true. - **allow_screen_capture** (`boolean`): Allow Screen Capture. Default: true. - **allow_classroom_remoteview** (`boolean`): Allow Classroom Remoteview. Default: true. - **force_classroom_auto_join** (`boolean`): Force Classroom Auto Join. Default: false. - **force_classroom_appdevicelock** (`boolean`): Force Classroom Appdevicelock. Default: false. - **force_classroom_remoteview** (`boolean`): Force Classroom Remoteview. Default: false. - **allow_password_autofill** (`boolean`): Allow Password Autofill. Default: true. - **allow_password_proximity** (`boolean`): Allow Password Proximity. Default: true. - **allow_password_sharing** (`boolean`): Allow Password Sharing. Default: true. - **allow_cloud_photo_lib** (`boolean`): Allow Cloud Photo Lib. Default: true. - **request_to_leave_classroom** (`boolean`): Request To Leave Classroom. Default: false. - **allow_content_caching** (`boolean`): Allow Content Caching. Default: true. - **allow_itunes_file_sharing** (`boolean`): Allow Itunes File Sharing. Default: true. - **allow_auto_unlock** (`boolean`): Allow Auto Unlock. Default: true. - **allow_cloud_desktop_document** (`boolean`): Allow Cloud Desktop Document. Default: true. - **allow_cloud_bookmarks** (`boolean`): Allow Cloud Bookmarks. Default: true. - **allow_cloud_mail** (`boolean`): Allow Cloud Mail. Default: true. - **allow_cloud_calender** (`boolean`): Allow Cloud Calender. Default: true. - **allow_cloud_reminders** (`boolean`): Allow Cloud Reminders. Default: true. - **allow_cloud_addressbook** (`boolean`): Allow Cloud Addressbook. Default: true. - **allow_cloud_notes** (`boolean`): Allow Cloud Notes. Default: true. - **gatekeeper_setting** (`string`): Gatekeeper app source restriction. Allowed values: 1=App Store Only, 2=App Store and Identified Developers, 3=Anywhere, 4=Not Configured. Default: 3. - **allow_override_gatekeeper** (`boolean`): Allow Override Gatekeeper. Default: false. - **allow_dictation** (`boolean`): Allow Dictation. Default: true. - **allow_assistant** (`boolean`): Allow Assistant. Default: true. - **allow_use_of_ibookstore** (`boolean`): Allow Use Of Ibookstore. Default: true. - **allow_ibookstore_erotica_media** (`boolean`): Allow Ibookstore Erotica Media. Default: true. - **movies_rating_value** (`string`): Movie content rating filter. Allowed values vary by country. US values: 0=Don't Allow, 100=G, 200=PG, 300=PG-13, 400=R, 500=NC-17, 1000=Allow All Movies. Default: 1000. - **tv_shows_rating_value** (`string`): TV show content rating filter. Allowed values vary by country. US values: 0=Don't Allow, 100=TV-Y, 200=TV-Y7, 300=TV-G, 400=TV-PG, 500=TV-14, 600=TV-MA, 1000=Allow All TV Shows. Default: 1000. - **apps_rating_value** (`string`): App Store content rating filter. Allowed values vary by country. US values: 0=Don't Allow, 100=4+, 200=9+, 300=12+, 600=17+, 1000=Allow All Apps. Default: 1000. - **allow_find_my_friend** (`boolean`): Allow Find My Friend. Default: true. - **allow_find_my_device** (`boolean`): Allow Find My Device. Default: true. - **allow_erase_content_settings** (`boolean`): Allow Erase Content Settings. Default: true. - **is_rating_enabled** (`boolean`): Is Rating Enabled. Default: false. - **country_code** (`string`): Country Code. Default: us. - **allow_cloud_private_relay** (`boolean`): Allow Cloud Private Relay. Default: true. - **allow_usb_restriction_mode** (`boolean`): Allow Usb Restriction Mode. Default: true. - **allow_universal_control** (`boolean`): Allow Universal Control. Default: true. - **allow_profile_installation** (`boolean`): Allow Profile Installation. Default: true. - **allow_rapid_security_response_installation** (`boolean`): Allow Rapid Security Response Installation. Default: true. - **allow_rapid_security_response_removal** (`boolean`): Allow Rapid Security Response Removal. Default: true. - **allow_airdrop** (`boolean`): Allow Airdrop. Default: true. - **allow_bluetooth_modification** (`boolean`): Allow Bluetooth Modification. Default: true. - **bluetooth_setting** (`string`): Bluetooth setting. Allowed values: 0=Off, 1=On, 2=Not Configured. - **allow_marketplace_app_installation** (`boolean`): Allow Marketplace App Installation. Default: true. - **allow_web_distribution_app_installation** (`boolean`): Allow Web Distribution App Installation. Default: true. - **allow_modifi_passcode** (`boolean`): Allow Modifi Passcode. Default: true. - **allow_diagnostic_submission** (`boolean`): Allow Diagnostic Submission. Default: True. - **allow_apple_personalized_ads** (`boolean`): Allow Apple Personalized Ads. Default: True. - **allow_iphone_mirroring** (`boolean`): Allow Iphone Mirroring. Default: True. - **allow_modifi_device_name** (`boolean`): Allow Modifi Device Name. Default: True. - **allow_cloud_freeform** (`boolean`): Allow Cloud Freeform. Default: True. - **enforced_fingerprint_timeout** (`string`): Enforced Fingerprint Timeout. Default: 172800. - **allow_modify_touch_id** (`boolean`): Allow Modify Touch Id. Default: True. - **allow_printer_sharing_modification** (`boolean`): Allow Printer Sharing Modification. Default: True. - **allow_file_sharing_modification** (`boolean`): Allow File Sharing Modification. Default: True. - **allow_internet_sharing_modification** (`boolean`): Allow Internet Sharing Modification. Default: True. - **allow_bluetooth_sharing_modification** (`boolean`): Allow Bluetooth Sharing Modification. Default: True. - **allow_time_machine_backup** (`boolean`): Allow Time Machine Backup. Default: True. - **allow_multiplayer_gaming** (`boolean`): Allow Multiplayer Gaming. Default: True. - **allow_local_user_creation** (`boolean`): Allow Local User Creation. Default: True. - **airplay_incoming_request** (`boolean`): Airplay Incoming Request. Default: True. - **allow_account_modification** (`boolean`): Allow Account Modification. Default: True. - **allow_ard_remote_management_modification** (`boolean`): Allow Ard Remote Management Modification. Default: True. - **allow_startup_disk_modification** (`boolean`): Allow Startup Disk Modification. Default: True. - **allow_remote_apple_events_modification** (`boolean`): Allow Remote Apple Events Modification. Default: True. - **allow_image_playground** (`boolean`): Allow Image Playground. Default: True. - **allow_writing_tools** (`boolean`): Allow Writing Tools. Default: True. - **allow_external_intelligence_integrations** (`boolean`): Allow External Intelligence Integrations. Default: True. - **force_delayed_software_updates** (`boolean`): Force Delayed Software Updates. Default: False. - **force_delayed_app_software_updates** (`boolean`): Force Delayed App Software Updates. Default: False. - **force_delayed_major_software_updates** (`boolean`): Force Delayed Major Software Updates. Default: False. - **software_update_delay** (`string`): Software Update Delay. Default: 30. - **software_update_minor_os_deferred_install_delay** (`string`): Software Update Minor Os Deferred Install Delay. Default: 30. - **software_update_major_os_deferred_install_delay** (`string`): Software Update Major Os Deferred Install Delay. Default: 30. - **software_update_non_os_deferred_install_delay** (`string`): Software Update Non Os Deferred Install Delay. Default: 30. - **allow_external_intelligence_integrations_signin** (`boolean`): Allow External Intelligence Integrations Signin. Default: True. - **allow_mail_summary** (`boolean`): Allow Mail Summary. Default: True. - **allow_notes_transcription_summary** (`boolean`): Allow Notes Transcription Summary. Default: True. - **allow_external_intelligence_workspace_ids** (`string`): Allow External Intelligence Workspace Ids. - **force_bypass_screen_capture_alert** (`boolean`): Force Bypass Screen Capture Alert. Default: False. - **allow_media_sharing_modification** (`boolean`): Allow Media Sharing Modification. Default: False. - **allow_apple_intelligence_report** (`boolean`): Allow Apple Intelligence Report. Default: True. - **allow_mail_smart_replies** (`boolean`): Allow Mail Smart Replies. Default: True. - **allow_safari_summary** (`boolean`): Allow Safari Summary. Default: True. - **allow_safari_private_browsing** (`boolean`): Allow Safari Private Browsing. Default: True. - **allow_safari_history_clearing** (`boolean`): Allow Safari History Clearing. Default: True. - **allow_add_game_center_friend** (`boolean`): Allow adding Game Center friends. Default: true. - **allow_airprint** (`boolean`): Allow AirPrint. Default: true. - **allow_airprint_credential_storage** (`boolean`): Allow AirPrint credential storage. Default: true. - **allow_airprint_ibeacon_discovery** (`boolean`): Allow AirPrint iBeacon discovery. Default: true. - **allow_app_cellular_data** (`boolean`): Allow app cellular data modification. Default: true. - **allow_app_installation** (`boolean`): Allow app installation. Default: true. - **allow_app_removal** (`boolean`): Allow app removal. Default: true. - **allow_assistant_user_content** (`boolean`): Allow Siri user-generated content. Default: true. - **allow_assistant_when_locked** (`boolean`): Allow Siri when locked. Default: true. - **allow_auto_app_download** (`boolean`): Allow automatic app downloads. Default: true. - **allow_auto_correction** (`boolean`): Allow auto-correction. Default: true. - **allow_cloud_backup** (`boolean`): Allow iCloud backup. Default: true. - **allow_diag_sub_modification** (`boolean`): Allow diagnostics submission modification. Default: true. - **allow_enabling_restriction** (`boolean`): Allow enabling restrictions. Default: true. - **allow_esim_modification** (`boolean`): Allow eSIM modification. Default: true. - **allow_explicit_content** (`boolean`): Allow explicit content. Default: true. - **allow_face_time** (`boolean`): Allow FaceTime. Default: true. - **allow_find_my_friends_mod** (`boolean`): Allow Find My Friends modification. Default: true. - **allow_host_pairing** (`boolean`): Allow host pairing. Default: true. - **allow_hotspot_modification** (`boolean`): Allow hotspot modification. Default: true. - **allow_imessage** (`boolean`): Allow iMessage. Default: true. - **allow_inapp_purchase** (`boolean`): Allow in-app purchase. Default: true. - **allow_itunes** (`boolean`): Allow iTunes. Default: true. - **allow_keyboard_shortcut** (`boolean`): Allow keyboard shortcuts. Default: true. - **allow_managed_app_cloud_sync** (`boolean`): Allow managed app cloud sync. Default: true. - **allow_managed_app_trust** (`boolean`): Allow trusting managed app developers. Default: true. - **allow_managed_book_backup** (`boolean`): Allow managed book backup. Default: true. - **allow_managed_book_sync** (`boolean`): Allow managed book sync. Default: true. - **allow_managed_write_unmanaged_contact** (`boolean`): Allow managed apps to write to unmanaged contacts. Default: true. - **allow_news** (`boolean`): Allow News. Default: true. - **allow_open_doc_in_managed** (`boolean`): Allow opening documents in managed apps. Default: true. - **allow_open_doc_in_unmanaged** (`boolean`): Allow opening documents in unmanaged apps. Default: true. - **allow_ota_pki_updates** (`boolean`): Allow OTA PKI updates. Default: true. - **allow_paired_watch** (`boolean`): Allow paired Apple Watch. Default: true. - **allow_passbook_when_locked** (`boolean`): Allow Wallet when locked. Default: true. - **allow_photo_stream** (`boolean`): Allow Photo Stream. Default: true. - **allow_podcasts** (`boolean`): Allow Podcasts. Default: true. - **allow_predictive_keyboard** (`boolean`): Allow predictive keyboard. Default: true. - **allow_proximity_for_newdevice** (`boolean`): Allow proximity setup for new devices. Default: true. - **allow_radio_service** (`boolean`): Allow Radio Service. Default: true. - **allow_safari** (`boolean`): Allow Safari. Default: true. - **allow_shared_stream** (`boolean`): Allow shared Photo Stream. Default: true. - **allow_siri_logging** (`boolean`): Allow Siri server logging. Default: true. - **allow_spellcheck** (`boolean`): Allow spellcheck. Default: true. - **allow_sync_while_roaming** (`boolean`): Allow sync while roaming. Default: true. - **allow_unmanaged_read_managed_contact** (`boolean`): Allow unmanaged apps to read managed contacts. Default: true. - **allow_untrusted_tls_prompt** (`boolean`): Allow untrusted TLS prompt. Default: true. - **allow_use_of_youtube** (`boolean`): Allow use of YouTube. Default: true. - **allow_voice_dialing** (`boolean`): Allow voice dialing. Default: true. - **allow_vpn_creation** (`boolean`): Allow VPN creation. Default: true. - **allowCloudAddressBook** (`boolean`): Allow iCloud Address Book sync. Default: true. - **authenticate_before_autofill** (`boolean`): Require authentication before autofill. Default: false. - **force_airdrop_unmanaged** (`boolean`): Treat AirDrop as unmanaged destination. Default: false. - **force_airplay_incoming_pwd** (`boolean`): Force password for incoming AirPlay requests. Default: false. - **force_airplay_outgoing_pwd** (`boolean`): Force password for outgoing AirPlay requests. Default: false. - **force_airprint_tls** (`boolean`): Force AirPrint to use TLS. Default: false. - **force_date_time** (`boolean`): Force automatic date and time. Default: false. - **force_encrypted_backup** (`boolean`): Force encrypted backup. Default: false. - **force_istore_pwd_entry** (`boolean`): Force iTunes Store password entry. Default: false. - **force_limited_ad_tracking** (`boolean`): Force limited ad tracking. Default: false. - **force_watch_wrist_detect** (`boolean`): Force Apple Watch wrist detection. Default: false. - **force_wifi_whitelisting** (`boolean`): Force WiFi whitelisting. Default: false. - **safari_allow_javascript** (`boolean`): Safari allow JavaScript. Default: true. - **safari_allow_popups** (`boolean`): Safari allow pop-ups. Default: true. - **safari_force_fraud_warning** (`boolean`): Safari force fraud warning. Default: true. - **show_control_center** (`boolean`): Show Control Center on lock screen. Default: true. - **show_notification_center** (`boolean`): Show Notification Center on lock screen. Default: true. - **show_today_view** (`boolean`): Show Today View on lock screen. Default: true. - **hotspot_setting** (`string`): Personal hotspot setting. Allowed values: 0=Disable, 1=Enable. - **safari_accept_cookies** (`string`): Safari cookie acceptance policy. Allowed values: 0=Always, 1=Never, 1.5=From visited sites, 2=From current website only. ### Sample Response: HTTP 200 Full configuration details of Restrictions payload item ```json { "allow_activity_continuation": true, "payload_id": 9007199254741000, "safari_allow_autofill": true, "force_assist_profanity_filter": false, "allow_cloud_document_sync": true, "allow_game_center": true, "allow_use_of_camera": true, "allow_touch_id": true, "allow_modifi_wallpaper": true, "allow_spotlight_result": true, "allow_cloud_keychain_sync": true } ``` ### Possible Response Codes - **200**: HTTP code. ## Rate Limit ![Help icon](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 120 | **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.