Skip to main content

MeResponse

Properties

roles:object[]
optional

Role assignments of the user.

capabilities:string[]
optional

Capabilities granted by the roles of the user; * stands for all. The capabilities of the used token may be restricted further.

example

[
"*"
]

Raw Schema

{
"allOf": [
{
},
{
"type": "object",
"properties": {
"roles": {
"type": "array",
"description": "Role assignments of the user.",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"issuer": {
"type": "string"
},
"assigned": {
"type": "string",
"format": "date-time"
}
}
}
},
"capabilities": {
"type": "array",
"description": "Capabilities granted by the roles of the user; `*` stands for all. The capabilities of the used token may be restricted further.",
"items": {
"type": "string"
},
"example": [
"*"
]
}
}
}
]
}