Returns list of all roles

Return a list of all roles.

get

Returns all roles.

Authorizations
Query parameters
namestringOptional

Filter by role name

Example: name
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
Responses
200
Successful operation.
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?