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.

Enums

UNSPECIFIED

Enum unspecified.

UNKNOWN

The received error code is not known in this version.

INVALID_USER_ID

There is no user associated with the user id specified.

REMOVAL_DISALLOWED

Unable to remove the access between the user and customer.

DISALLOWED_ACCESS_ROLE

Unable to add or update the access role as specified.

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

LAST_ADMIN_USER_OF_MANAGER

Last admin user cannot be removed from a manager.