Admin API / Mutations

unbanUser

Sets a banned member to ACTIVE with its stored role. Requires the MODERATOR role or higher and a role above the member's stored role. Listings, seller applications, reports and store staff access that the ban removed stay removed. A person that banUser banned before they joined becomes an ACTIVE MEMBER. A member who is not banned succeeds without changes. A member at SELLER or a higher role takes a seat of the plan's seller limit, and an ADMIN also a seat of the admin limit; with no free seat the call returns SellerLimitReachedError or AdminLimitReachedError and changes nothing.

Requires a client key with one of these scopes: admin:moderation:writeRequires this member role or higher: MODERATOR
unbanUser(
  input: UnbanUserInput!
): UnbanUserPayload!

Arguments

ArgumentTypeDescription
inputUnbanUserInput!The member to unban.

Return type

UnbanUserPayload!