RoleAssignment
Assignment of a role to a user.
Properties
type:enum
requiredexample "_RoleAssignment"
role:string
requiredName of the role.
example "admin"
issuer:string
requiredWho assigned the role: cli or api:user:<uuid>.
example "cli"
assigned:string·date-time
requiredexample "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" } }}