Mutation
Set User Role
Use the API to set user roles
Overview
The setUserRole
mutation allows for the updating of a user’s role within a team.
Arguments
The unique identifier of the user.
Usage Example
To set a user’s role, provide the user’s ID and the desired role as arguments to the mutation. Here’s an example of how this mutation could be used:
Additional Resources
Was this page helpful?