Create new permission group.
input
Input fields to create permission group.
Returns PermissionGroupCreate .
mutation ($input: PermissionGroupCreateInput!) { permissionGroupCreate(input: $input) { permissionGroupErrors { field message code permissions users } group { id name userCanManage } } }
3
{ "input": { "addPermissions": [ "MANAGE_USERS" ], "addUsers": [ "YWRkVXNlcnM6Nzg=" ], "name": "Acme" } }
{ "permissionGroupCreate": { "permissionGroupErrors": [ { "field": "string", "message": "string", "code": "ASSIGN_NON_STAFF_MEMBER", "permissions": [ "MANAGE_USERS" ], "users": [ "dXNlcnM6NTI=" ] } ], "group": { "id": "aWQ6NTc=", "name": "Acme", "userCanManage": true } } }