cURL
curl --request PATCH \ --url https://api.pathstack.io/device/{device_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "registration": "<string>", "make": "<string>", "model": "<string>", "year": 123, "active": true, "tags": [ "<string>" ] }'
{ "data": { "system_device_id": "<string>", "registration": "<string>", "make": "<string>", "model": "<string>", "year": 123, "active": true, "tags": [ "<string>" ], "id": "<string>", "connection_id": "<string>" } }
This endpoint update a Device.
You can specify the attributes which you want to be updated and their new values.
The updated Device is returned in the response.
10
Show child attributes