The assignOrganizationRoleToGroup() GraphQL mutation field is used to assign an organization role to a group. This field is not yet available. It's described here as a preview.

This is an experimental feature, not ready for production.

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

Syntax

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

graphql
assignOrganizationRoleToGroup(
       input: AssignOrganizationRoleToGroupInput!
    ): AssignOrganizationRoleToGroupMutation!

Given Datatypes

For the input (i.e., AssignOrganizationRoleToGroupInput), there are a couple of parameters that may be given. Below is a list of them along with their data type and a description of each:

Table: AssignOrganizationRoleToGroupInput

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.
groupId[string]yes The unique identifier of the group.
roleIdstring  The unique identifier of the role.

Returned Datatypes

As indicated by the syntax above, this mutation will return data using the datatype, AssignOrganizationRoleToGroupMutation. Below is the parameter of that datatype:

Table: AssignOrganizationRoleToGroupMutation

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
groupGroupOrganizationRoleyes The group to which to assign orgnization role. See Group.