CoAP PUT /iam/device-info/friendly-name

DESCRIPTION

This endpoint is used to set/change the friendly name of the device. When this value is set, the IAM module adds the friendly name as a TXT record to the mDNS module with the key fn.

DECLARATION

PUT /iam/device-info/friendly-name

REQUEST

Request body should be the value to set as friendly name encoded as CBOR. For example:

My thermostat

RESPONSE

CoAP status codes:

  • 205: On success.
  • 403: Blocked by IAM configuration.

IAM PARAMETERS

A user must have access to the following IAM Action to use this endpoint:

  • IAM:SetDeviceInfo

No special attributes are provided.