# Modify the configuration of a Wi-Fi payload item within a profile Modify Windows Wifi policy payload ## Endpoint `PUT /api/v1/mdm/profiles/{profile_id}/payloads/windowswifipolicy/payloaditems/{payload_id}` ## Request ### Request URL ```text https://{server-hostname}:8383/api/v1/mdm/profiles/{profile_id}/payloads/windowswifipolicy/payloaditems/{payload_id} ``` ### Scope ```text MDMDeviceMgmt.UPDATE ``` ### Header ```text Authorization: d92d4xxxxxxxxxxxxx15f52 ``` ### Request Parameters #### Request Headers | Parameter | Type | Required | Value | |---|---|---|---| | Content-Type | string | Mandatory | application/json | | Accept | string | Mandatory | application/json | #### Path Parameters | Parameter | Type | Required | Description | |---|---|---|---| | 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/windows-get-wi-fi-payload-windows.html) response | #### Request Body `application/json` | Attribute | Type | Required | Description | |---|---|---|---| | sub_config | string | Optional | Sub Config. Default: WIFI_NON_ENTERPRISE | | service_set_identifier | string | Mandatory | Service Set Identifier | | auto_join | boolean | Optional | Auto Join. Default: true | | security_type | integer | Mandatory | Security Type. Default: 0 | | wifi_non_enterprise | JSON Object | Optional | Wifi Non Enterprise | | wifi_enterprise | JSON Object | Optional | Wifi Enterprise | | proxy_type | integer | Optional | Proxy Type. Default: 0 | | proxy_server | string | Optional | Proxy Server | | proxy_server_port | integer | Optional | Proxy Server Port. Default: 0 | | hidden_network | boolean | Mandatory | Hidden Network. Default: false | | proxy_user_name | string | Optional | Proxy User Name | | proxy_password | string | Optional | Proxy Password (sensitive - write-only) | | proxy_password_id | long | Optional | Proxy Password Id | | proxy_pac_url | string | Optional | Proxy Pac Url | | bypass_proxy_url | string | Optional | Bypass Proxy Url | ### Sample Request ```curl curl --request PUT \ --url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/windowswifipolicy/payloaditems/{payload_id} \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json' \ --data '{"wifi_non_enterprise":{},"sub_config":"WIFI_NON_ENTERPRISE","wifi_enterprise":{},"proxy_server":"value","auto_join":true,"proxy_server_port":0,"hidden_network":false,"service_set_identifier":"value","security_type":0,"proxy_type":0}' ``` ### Sample Request Body Modify Wi-Fi payload item ```json { "wifi_non_enterprise": {}, "sub_config": "WIFI_NON_ENTERPRISE", "wifi_enterprise": {}, "proxy_server": "value", "auto_join": true, "proxy_server_port": 0, "hidden_network": false, "service_set_identifier": "value", "security_type": 0, "proxy_type": 0 } ``` ## Response ### Response Parameters #### HTTP Code 200 Response Body — `application/json` | Attribute | Type | Description | |---|---|---| | payload_id | long | Unique identifier of the payload item | | sub_config | string | Sub Config. Default: WIFI_NON_ENTERPRISE | | service_set_identifier | string | Service Set Identifier | | auto_join | boolean | Auto Join. Default: true | | security_type | integer | Security Type. Default: 0 | | wifi_non_enterprise | JSON Object | Wifi Non Enterprise | | wifi_enterprise | JSON Object | Wifi Enterprise | | proxy_type | integer | Proxy Type. Default: 0 | | proxy_server | string | Proxy Server | | proxy_server_port | integer | Proxy Server Port. Default: 0 | | hidden_network | boolean | Hidden Network. Default: false | | proxy_user_name | string | Proxy User Name | | proxy_password | string | Proxy Password (sensitive - write-only) | | proxy_password_id | long | Proxy Password Id | | proxy_pac_url | string | Proxy Pac Url | | bypass_proxy_url | string | Bypass Proxy Url | ### Possible Response Codes | Code | Type | |---|---| | 200 | HTTP code | ### Sample Response: HTTP 200 Wi-Fi payload item successfully modified ```json { "payload_id": 9007199254741000, "wifi_non_enterprise": {}, "sub_config": "WIFI_NON_ENTERPRISE", "wifi_enterprise": {}, "proxy_server": "value", "auto_join": true, "proxy_server_port": 0, "hidden_network": false, "service_set_identifier": "value", "security_type": 0, "proxy_type": 0 } ``` ## Rate Limit ![](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.