Moloni developers espana logo

RoleRead

Back


Reads a Role.

Returns a Role with the specified Id.

Parent field is a set of permissions inherited from another role

Fields

roleId: Int!

code: String

name: String

description: String

admin: Boolean

permissions: [RolePermission!]

users: [UserRead]

parent: RoleRead

createdAt: DateTime

updatedAt: DateTime

deletable: Boolean

Flags if an item can be deleted If set to true, this item can't be deleted