Skip to main content
Solved

API on banned users

  • May 19, 2020
  • 2 replies
  • 84 views

Hi guys, was wondering if we could get into the webhooks the banned users? I haven’t seen anywhere where this is populated and nothing here https://api2-eu-west-1.insided.com/docs/user/#tag/User/paths/~1user/get too.

 

Thank you.

 

Kind Regards,

Catia Silvestre

Best answer by catiasilvestre

Found it: https://api2-eu-west-1.insided.com/docs/user/#operation/findBy :) 

 

Endpoint returns:

  "roles": [

        {

            "auth_item": {

                "name": "roles.banned",

                "main": true }

 

2 replies

  • Author
  • Helper ⭐️
  • Answer
  • May 21, 2020

Found it: https://api2-eu-west-1.insided.com/docs/user/#operation/findBy :) 

 

Endpoint returns:

  "roles": [

        {

            "auth_item": {

                "name": "roles.banned",

                "main": true }

 


HI, 

 

THis is the webservice to retrieve data about an user. 

 

But, how we will know when a user is banned in integration. Do we have an available webhook event when users marked as banned?