companyRoleCreate
mutation
Create company role
Defines a new permission role for the company with a set of resource-action permissions. Roles can optionally inherit from a parent role. Returns the created role.
mutation {
companyRoleCreate(companyId: Int!, data: CompanyRoleInsert!): CompanyRole!
}Returns: CompanyRole!
Arguments
| Name | Type | Description |
|---|---|---|
companyId | Int! | |
data | CompanyRoleInsert! |