CustomerUserAccessError

  • Enumerates potential errors related to customer user access.

  • Provides specific error types such as invalid user ID, disallowed removal, and issues with access roles.

  • Includes errors for attempting to remove the last admin user from serving customers or managers under specific conditions.

Enum describing possible customer user access errors.

Proto definition

Enums

DISALLOWED_ACCESS_ROLE

Unable to add or update the access role as specified.

INVALID_USER_ID

There is no user associated with the user id specified.

LAST_ADMIN_USER_OF_MANAGER

Last admin user cannot be removed from a manager.

LAST_ADMIN_USER_OF_SERVING_CUSTOMER

The user can't remove itself from an active serving customer if it's the last admin user and the customer doesn't have any owner manager

REMOVAL_DISALLOWED

Unable to remove the access between the user and customer.

UNKNOWN

The received error code is not known in this version.

UNSPECIFIED

Enum unspecified.