Returns list of all users for whom the current user can change the role
Returns all users.
Authorizations
Query parameters
pageIndexnumberOptionalExample:
The number of pages to skip before starting to collect the result set
0
pageSizenumberOptionalExample:
The numbers of items to return
20
rolestringOptionalExample:
Filter by role
000000000000000000000001
statusstring Β· enumOptionalExample:
Filter by status
Active
Possible values: usernamestringOptionalExample:
Filter by username
username
Responses
200
Successful operation.
application/json
401
Unauthorized.
403
Forbidden.
500
Internal server error.
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