Skip to content

Get role metadata

GET
/api/v1/rbac/metadata/roles
curl --request GET \
--url https://localhost:8080/api/v1/rbac/metadata/roles \
--header 'Authorization: <Authorization>'

Return metadata for every role defined in the system, keyed by role name

Role metadata keyed by role name

Media type application/json
object
key
additional properties
object
description
string
name
string
personas
Array<string>
scope

“organization” or “project”

string
Example generated
{
"additionalProperty": {
"description": "example",
"name": "example",
"personas": [
"example"
],
"scope": "example"
}
}

Unauthorized - Authentication required

Media type application/json
object
error
string
error_description
string
Example
{
"error": "Unauthorized",
"error_description": "Invalid token"
}