The unassignRoleFromGroup() GraphQL mutation may be used to remove a role assigned a the group for a given view.

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.

Syntax

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

graphql
unassignRoleFromGroup(
      input: RemoveRoleFromGroupInput!
   ): UnassignRoleFromGroup!

Given Datatypes

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

Table: RemoveRoleFromGroupInput

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 19, 2024
groupIdstringyes The unique identifier of the group.
roleIdstringyes The unique identifier of the role to remove from the group.
viewIdstringyes The unique identifier of the view associated with the role.

Returned Datatypes

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

Table: UnassignRoleFromGroup

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 unassigned group. See Group.