Skip to main content


No description

type BanUserInput {  userID: ID!  clientMutationId: String!  message: String!  siteIDs: [ID!]  rejectExistingComments: Boolean  rejectionReason: RejectCommentReasonInput}


userID (ID!)#

userID is the ID of the User that should have their account banned.

clientMutationId (String!)#

clientMutationId is required for Relay support.

message (String!)#

message is sent to banned user via email.

siteIDs ([ID!])#

site ID's to scope the ban to.

rejectExistingComments (Boolean)#

whether or not to reject all the user's previous comments when banning them.

rejectionReason (RejectCommentReasonInput)#

rejectionReason is the reason provided for why any existing comments are being rejected if DSA is enabled