ENUM

UnmodUserErrorCode

UnmodUserErrorCode defines a client error that occurred while remove a moderator.

link GraphQL Schema definition

1enum UnmodUserErrorCode {
2
3# The requesting user does not have permission to add a moderator in this channel.
4FORBIDDEN
5
6# The target user does not exist or has a suspended account.
7TARGET_NOT_FOUND
8
9# The channel does not exist.
10CHANNEL_NOT_FOUND
11
12# The target user is not a moderator.
13TARGET_NOT_MOD
14}