assignOrganizationRoleToGroup( )

Attention

Under Development

Our GraphQL pages are currently under development. The content, links, tables, and structure of this material may change without notice.

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.

For more information on roles in Humio, see the Role-Based Permissions documentation page. You may also want to look at Authorization for related information.

Syntax

Below is the syntax for the assignorganizationroletogroup mutation field:

assignOrganizationRoleToGroup(input: AssignOrganizationRoleToGroupInput!clientMutationId: string): AssignOrganizationRoleToGroupMutation!
Given Datatypes

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

Table: AssignOrganizationRoleToGroupInput

ParameterTypeRequired[a]DefaultDescription
groupIdstringyes input assignorganizationroletogroupinput The unique identifier of the group.
roleIdstring  The unique identifier of the role.

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


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

Table: clientMutationId

ParameterTypeRequired[a]DefaultDescription
clientMutationIdstring  datatype clientmutationid The client identifier for the mutation. This is deprecated: Humio will not continue supporting clientMutationId in results.

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


Returned Datatypes

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

Table: AssignOrganizationRoleToGroupMutation

ParameterTypeRequired[a]DefaultDescription
clientMutationIdstringyes datatype assignorganizationroletogroupmutation The mutation identifier for the client. Deprecated: Humio will not continue supporting clientMutationId in results.
userGroupyes The group for 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 being returned for it.


The returned datatype has its own special datatypes. You can click on the links below for more information on its parameters: