Skip to Content
StoreOSv0.27.1
Storefront GraphQL APIReferenceObjects

Role

typeRole

Fields

  1. fields
_id*ID!
name*String!
tenant?String
permissions*
assignedUserCount?Int
createdAt*DateTime!

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

updatedAt*DateTime!

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

SDL
type Role {  _id: ID!  name: String!  tenant: String  permissions: [RolePermission!]!  assignedUserCount: Int  createdAt: DateTime!  updatedAt: DateTime!}