The updateDefaultRole() GraphQL mutation is used to update the default role for a group in LogScale.

For more information on roles in LogScale, see the Manage users & permissions documentation page. You may also want to look at the Manage users & permissions page for related information. In particular, read the section on groups, Manage Groups.

Syntax

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

graphql
updateDefaultRole(
      input: UpdateDefaultRoleInput!
   ): updateDefaultRoleMutation!

Given Datatypes

For the given datatype, UpdateDefaultRoleInput, there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: UpdateDefaultRoleInput

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 23, 2024
groupIdstringyes The unique identifier of the group.
roleIdstring  The unique identifier of the default role to update.

Returned Datatypes

The returned datatype updateDefaultRoleMutation has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: updateDefaultRoleMutation

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Oct 4, 2024
groupGroupyes The group for which to update the default role. See Group.