Returns list of all users for whom the current user can change the role

Return a list of all users.

get

Returns all users.

Authorizations
Query parameters
pageIndexnumberOptional

The number of pages to skip before starting to collect the result set

Example: 0
pageSizenumberOptional

The numbers of items to return

Example: 20
rolestringOptional

Filter by role

Example: 000000000000000000000001
statusstring Β· enumOptional

Filter by status

Example: ActivePossible values:
usernamestringOptional

Filter by username

Example: username
Responses
200
Successful operation.
application/json
get
GET /api/v1/permissions/users HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
[
  {
    "username": "username",
    "role": "USER",
    "permissionsGroup": [
      {}
    ],
    "permissions": [
      "POLICIES_POLICY_READ"
    ],
    "did": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
    "parent": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
    "hederaAccountId": "0.0.1"
  }
]

Last updated