Returns list of all roles
Returns all roles.
Authorizations
Query parameters
namestringOptionalExample:
Filter by role name
name
pageIndexnumberOptionalExample:
The number of pages to skip before starting to collect the result set
0
pageSizenumberOptionalExample:
The numbers of items to return
20
Responses
200
Successful operation.
application/json
401
Unauthorized.
403
Forbidden.
500
Internal server error.
application/json
get
GET /api/v1/permissions/roles HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
[
{
"uuid": "00000000-0000-0000-0000-000000000000",
"name": "Name",
"description": "Description",
"owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
"permissions": [
"POLICIES_POLICY_READ"
]
}
]
Last updated
Was this helpful?