Skip to main content

UPDATE_USER_ROLE_IN_ORG_MUTATION

Admin Docs


Variable: UPDATE_USER_ROLE_IN_ORG_MUTATION

const UPDATE_USER_ROLE_IN_ORG_MUTATION: DocumentNode

Defined in: src/GraphQl/Mutations/OrganizationMutations.ts:12

GraphQL mutation to update the role of a user in an organization.

Param

The ID of the organization in which the user's role is being updated.

Param

The ID of the user whose role is being updated.

Param

The new role to be assigned to the user in the organization.

Returns

The updated user object with the new role in the organization.