Skip to main content

CreateRoleInput

No description

input CreateRoleInput {
eventId: ID
communityId: ID!
name: String!
description: String
permissionIds: [ID!]
isDefault: Boolean
type: RolePermissionTypeEnum!
translations: [RoleTranslationInput!]
}

Fields

CreateRoleInput.eventId ● ID scalar

CreateRoleInput.communityId ● ID! non-null scalar

CreateRoleInput.name ● String! non-null scalar

CreateRoleInput.description ● String scalar

CreateRoleInput.permissionIds ● [ID!] list scalar

List of permissions for the role.

CreateRoleInput.isDefault ● Boolean scalar

CreateRoleInput.type ● RolePermissionTypeEnum! non-null enum

CreateRoleInput.translations ● [RoleTranslationInput!] list input

Translated content for the role.

Member Of

createRole mutation