The createRole() GraphQL mutation may be used to add a role. This is usable only if roles are not managed externally (e.g., in LDAP).

For more information on roles in LogScale, see the Managing Users & Permissions documentation page. You may also want to look at the Managing Users & Permissions page for related information.


Below is the syntax for the createRole() mutation field:

      input: AddRoleInput!
   ): AddRoleMutation!

Returned Datatypes

The returned datatype AddRoleMutation has its own parameter:

Table: AddRoleMutation

groupGroupyes The group on which to add mutation (see Group Table).

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.