Moloni ON Logo WhiteGuidesAPI ReferenceExplorer
API Reference

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

NameTypeDescription
companyIdInt!
dataCompanyRoleInsert!

© 2026 Moloni ON

Tax Authority Certificate No. 3075