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 Managing Users & Permissions documentation page. You may also want to look at the Managing 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

ParameterTypeRequired[a]DefaultDescription
viewIdstringyes The unique identifier of the view associated with the role.
groupIdstringyes The unique identifier of the group.
roleIdstringyes The unique identifier of the role to remove from the group.

[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.


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

ParameterTypeRequired[a]DefaultDescription
groupGroupyes The unassigned group (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.