# Updates the broadcast address for sending Wake on LAN packets to a subnet Sets the broadcast IP address for a subnet entry, used to direct Wake on LAN UDP magic packets to the correct network segment. Accepts a JSON body with 'broadcastAddress' and the list of resource IDs. ## Endpoint `PUT /dcapi/tools/wol/subnet` ## Request ### Request URL `https://{server-hostname}:8383/dcapi/tools/wol/subnet` ### Scope `Tools.UPDATE` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Content-Type** (`string`, Mandatory): `application/subnetInfo.v1+json` #### Request Body `application/json` - JSON Object - **broadcastAddress** (`string`, Optional) - **resourceIDs** (`JSON Array`, Optional) ### Sample Request ```curl curl --request PUT \ --url https://appdomain/dcapi/tools/wol/subnet \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/subnetInfo.v1+json' \ --data '{"broadcastAddress":"192.168.1.255","resourceIDs":[101,202]}' ``` ### Sample Request Body ```json { "broadcastAddress": "192.168.1.255", "resourceIDs": [ 101, 202 ] } ``` ## Response ### Response Parameters #### HTTP Code 200 Response Body — `application/json` - JSON Object - **status** (`string`): Result of the operation: success or failure ### Possible Response Codes - **200** — HTTP code ### Sample Response: HTTP 200 ```json { "status": "success" } ``` ## Rate Limits ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **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.