Skip to content

Get Role​

GET
/admin/roles/{roleName}

Get Role by RoleKey

Authorizations​

httpAuth
Type
HTTP (bearer)
or
httpAuth1
Type
HTTP (basic)
or
apiKeyAuth
Type
API Key (header: X-AUTH-APIKEY)

Parameters​

Path Parameters

roleName*

RoleKey to search

Type
string
Required

Responses​

application/json
JSON
{
  
"name": "string",
  
"isAdmin": true,
  
"collectionGrants": [
  
  
{
  
  
  
"name": "string",
  
  
  
"read": true,
  
  
  
"write": true,
  
  
  
"administrate": true,
  
  
  
"grantType": "COLLECTION"
  
  
}
  
]
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Released under the MIT License.