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-v1.zealy.io/communities/:subdomain/users/:userId/ban

Path Parameters

NameTypeDescription

subdomain*

String

Subdomain of your community

userId

String

Id of the requested user invites

Request Body

NameTypeDescription

reason

String

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

Last updated