CoAP PUT /iam/users/:username/fingerprints/:fingerprint

DESCRIPTION

This endpoint is used to add a fingerprint to a particular user of the device.

This replaces the fingerprint setting in PUT user setting.

DECLARATION

PUT /iam/users/:username/fingerprints/:fingerprint

REQUESTS

The request body contains a CBOR object with fingerprint settings. Current available settings are:

  • FingerprintName: Optional friendly name for fingerprint.
{
  "FingerprintName": "my phone"
}

RESPONSE

CoAP status codes:

  • 204: If the fingerprint was added.
  • 400: The request body was invalid.
  • 403: Blocked by IAM configuration.
  • 404: The username or endpoint does not exist.
  • 409: Provided fingerprint not unique.

IAM PARAMETERS

IAM Action:

  • IAM:SetUserFingerprint

IAM Attributes:

  • IAM:Username