Updates the MAC address, IP address, and subnet details for the specified computer

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

Updates the network address details (MAC address, IP address, and subnet mask) for the specified computer. Used when automatic detection is insufficient or to correct stale network data. Accepts a JSON body with 'macAddress', 'ipAddress', and 'subnetAddress'.

Request URL

https://{server-hostname}:8383/dcapi/tools/wol/{resourceId}/modifyComputerAddress

Scope

Tools.UPDATECopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

Content-TypestringMandatory
application/computerAddress.v1+jsonapplication/computerAddress.v1+jsonCopied!

- Path Parameters

resourceIdstringMandatory

The unique identifier of the target device

- Request Body

application/json
JSON Object
Hide Sub-Attributes
macAddressstringOptional
ipAddressstringOptional
subnetAddressstringOptional

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request PUT \
  --url https://appdomain/dcapi/tools/wol/{resourceId}/modifyComputerAddress \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'Content-Type: application/computerAddress.v1+json' \
  --data '{"macAddress":"00:1A:2B:3C:4D:5E","ipAddress":"192.168.1.50","subnetAddress":"255.255.255.0"}'

Sample Request Body

Copied!
  {
    "macAddress": "00:1A:2B:3C:4D:5E",
    "ipAddress": "192.168.1.50",
    "subnetAddress": "255.255.255.0"
  }
                
Show full

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
statusstring

Result of the operation: success or failure

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Copied!
  {
    "status": "success"
  }
                
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.