Skip to main content

RoleAssignment

Assignment of a role to a user.

Properties

type:enum
required

example "_RoleAssignment"

role:string
required

Name of the role.

example "admin"

issuer:string
required

Who assigned the role: cli or api:user:<uuid>.

example "cli"

assigned:string·date-time
required

example "2026-11-29T21:00:00+00:00"

Raw Schema

{
"type": "object",
"description": "Assignment of a role to a user.",
"required": [
"type",
"role",
"issuer",
"assigned"
],
"properties": {
"type": {
"type": "string",
"enum": [
"_RoleAssignment"
],
"example": "_RoleAssignment"
},
"role": {
"type": "string",
"description": "Name of the role.",
"example": "admin"
},
"issuer": {
"type": "string",
"description": "Who assigned the role: `cli` or `api:user:<uuid>`.",
"example": "cli"
},
"assigned": {
"type": "string",
"format": "date-time",
"example": "2026-11-29T21:00:00+00:00"
}
}
}