Update the device connection credentials in the backend.

Updates the credentials of the device. This can only be done if the cloudManagedCredentials boolean returned
in the GET API is false. This api comes in hand when the device credentials have changed, for instance via
device's web interface and you want to update the backend with the new credentials.
By default the new credentials will be tested before being saved. You can control this behaviour and avoid
the test by setting optional parameter 'skipValidation' to True.
If test of new credentials is performed and fails, no changes will be saved and the request will return a
validation error.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

ID of the device.

Query Params
boolean
Defaults to false

This controls whether the endpoint should perform a test to establish a connection to the device
before updating optional connection credentials. This test makes the request take a lot longer to return a response.

Body Params

The credentials of the device used to connect to the device. Can only be altered if the cloudManagedCredentials boolean returned in ConnectionCredentials is false.

string

User name of the device

string

Password of the device

Responses
204

Updated credentials successfully.

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json