Skip to main content

RoleAssignmentCollection

Properties

type:enum
required

example "_RoleAssignmentCollection"

roles:object[]
required
capabilities:string[]
required

Capabilities which the roles grant to the user; * stands for all. Roles which are not defined in the instance configuration grant none.

example

[
"*"
]

Raw Schema

{
"type": "object",
"required": [
"type",
"roles",
"capabilities"
],
"properties": {
"type": {
"type": "string",
"enum": [
"_RoleAssignmentCollection"
],
"example": "_RoleAssignmentCollection"
},
"roles": {
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"issuer",
"assigned"
],
"properties": {
"role": {
"type": "string",
"example": "admin"
},
"issuer": {
"type": "string",
"example": "cli"
},
"assigned": {
"type": "string",
"format": "date-time",
"example": "2026-11-29T21:00:00+00:00"
}
}
}
},
"capabilities": {
"type": "array",
"description": "Capabilities which the roles grant to the user; `*` stands for all. Roles which are not defined in the instance configuration grant none.",
"items": {
"type": "string"
},
"example": [
"*"
]
}
}
}