Updates user roles (for ordinary uses)
Delegate user permissions for the specified username.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
usernamestringRequiredExample:
User Identifier
usernameBodystring[]
string[]Optional
Responses
200
User permissions.
application/json
usernamestringRequiredExample:
usernamerolestring · enumRequiredExample:
USERPossible values: permissionsGroupstring[]OptionalExample:
[{}]permissionsstring[]RequiredExample:
["POLICIES_POLICY_READ"]didstringOptionalExample:
#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001parentstringOptionalExample:
#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001hederaAccountIdstringOptionalExample:
0.0.1401
Unauthorized.
403
Forbidden.
500
Internal server error.
application/json
put
/permissions/users/{username}/delegateLast updated
Was this helpful?