Skip to main content
Version: 3.x

PermissionGroupCreate

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

DEPRECATED

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

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

PermissionGroupCreate.group ● Group object

Returned by

permissionGroupCreate mutation


Was this page helpful?