Skip to main content
Docs

RoleResource

An interface that represents a role in an organization.

  • Name
    id
    Type
    string
    Description

    The unique identifier of the role.

  • Name
    key
    Type
    string
    Description

    The unique key of the role.

  • Name
    name
    Type
    string
    Description

    The name of the role.

  • Name
    description
    Type
    string
    Description

    The description of the role.

  • Name
    permissions
    Type
    PermissionResource[]
    Description

    The permissions of the role.

  • Name
    createdAt
    Type
    Date
    Description

    The date when the role was created.

  • Name
    updatedAt
    Type
    Date
    Description

    The date when the role was last updated.

Feedback

What did you think of this content?

Last updated on