Skip to main content

PermissionGroupCreate Object

Create new permission group. Apps are not allowed to perform this mutation.

Requires MANAGE_STAFFpermission.

Triggers the following webhook events:

  • PERMISSION_GROUP_CREATED (async)
type PermissionGroupCreate {
permissionGroupErrors: [PermissionGroupError!]! @deprecated
errors: [PermissionGroupError!]!
group: Group
}

Fields

PermissionGroupCreate.permissionGroupErrors ● [PermissionGroupError!]! deprecated non-null object users

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

PermissionGroupCreate.errors ● [PermissionGroupError!]! non-null object users

PermissionGroupCreate.group ● Group object users

Returned By

permissionGroupCreate mutation