CoAP GET /iam/users

DESCRIPTION

This endpoint lists the usernames of all users on the device.

DECLARATION

GET /iam/users

REQUEST

Request body is empty.

RESPONSE

CoAP status codes:

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

Response body is a CBOR encoded array of username strings:

["alice", "bob"]

IAM PARAMETERS

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

  • IAM:ListUsers

No special attributes are provided.