CoAP GET /iam/roles

DESCRIPTION

This endpoint lists all roles configured on the device.

DECLARATION

GET /iam/roles

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 role ID strings:

["Unpaired", "Guest", "Standard", "Administrator"]

IAM PARAMETERS

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

  • IAM:ListRoles

No special attributes are provided.