https://{{dnac}}:{{port}}/api/v1/pnp-project/{{projectId}}/device
PUT https://{{dnac}}:{{port}}/api/v1/pnp-project/{{projectId}}/device
Updates a parameter of the device Uses the projectNetworkDevice variable from the environment Also needs projectId environment variable
Request Body
[{"serialNumber"=>"12345678901", "platformId"=>"C2960X", "hostName"=>"syd-sw2", "pkiEnabled"=>true, "id"=>"{{projectDeviceId}}"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-auth-token | string | ||
Content-type | string |