iotoms Docs

List roles

GET
/api/v1/management/roles

Returns all user roles defined for the merchant, with their name, role key and status. Not paginated.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Response Body

OK

*/*
  1. response
[index: integer]?
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/management/roles'
Example Response
[  {    "id": 0,    "name": "string",    "roleKey": "string",    "status": "string",    "modifiedTime": "2019-08-24T14:15:22Z"  }]