Retrieves information about the user (roles, permissions assigned policies)
Updates user permissions for the specified username.
Authorizations
Path parameters
usernamestringRequiredExample:
User Identifier
username
Responses
200
User permissions.
application/json
401
Unauthorized.
403
Forbidden.
500
Internal server error.
application/json
get
GET /api/v1/permissions/users/{username} 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