Zealy API
  • Introduction
  • Authentication
  • Use cases
  • Rate limits
  • Pagination
  • FAQ
  • API Reference
    • Communities
      • Community lookup
      • Community member check
      • Community Secret Retrieval
      • Community Secret Creation
    • Users
      • User lookup
      • Add & Remove XP
      • Ban user
      • Referral code
      • Delete Zealy Connect for member
    • Leaderboards
      • Retrieve a leaderboard
      • List sprints
    • Reviews
      • Claimed quests lookup
      • Review a submission
      • Review events
    • Modules
    • Quests
      • Create quest
      • Update quest
      • List quests
    • Webhooks
Powered by GitBook
On this page
  • Overview
  • API Reference
  • Ban a user from a community

Was this helpful?

  1. API Reference
  2. Users

Ban user

Overview

This endpoint allows you to ban a user from your community. Once a user is banned:

  • He won't be able to claim quests in the community anymore.

  • All his quests waiting for reviews will be canceled.

  • He will be removed from the all-time and sprint leaderboards if any.

API Reference

Ban a user from a community

POST https://api-v2.zealy.io/public/communities/:subdomain/users/:userId/ban

Path Parameters

Name
Type
Description

subdomain*

String

Subdomain of your community

userId

String

Id of the requested user invites

Request Body

Name
Type
Description

reason

String

Reason for banning, will be displayed to the user when visiting the community

PreviousAdd & Remove XPNextReferral code

Last updated 10 months ago

Was this helpful?