ENUM

UpdateOrganizationMemberRoleErrorCode

UpdateOrganizationMemberRoleErrorCode is the client error type that occurred during the UpdateOrganizationMemberRole mutation.

link GraphQL Schema definition

1enum UpdateOrganizationMemberRoleErrorCode {
2
3# The user is not a member of the organization, or the organization does not
4# exist.
5MEMBER_NOT_FOUND
6
7# The user doesn't meet the requirements to have this role. For example, when
8# trying to assign the
9# "BILLING_MANAGER" role, but the user doesn't have 2FA enabled or completed
10# Extension Monetization Onboarding.
11MEMBER_INELIGIBLE
12
13# Current user not allowed to update the role.
14# For example, developers can not assign roles, and no one can assign the owner
15# role to another user.
16PERMISSION_DENIED
17
18# One of the input parameters is malformed. This should not happen when properly
19# using the UI.
20INVALID_ARGUMENT
21}