curl --request POST \ --url 'https://YOURSITE.konstant.ly/openapi/v1/users/blocked' \ --header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv' \ --header 'Content-Type: application/json' \ --data '{ "id": "1234567890" }'
{ "id": "1234567890", "name": "John Doe", "language": "en", "occupation": "Salesman", "location": "London", "timezone": "Europe/London", "email": "[email protected]", "isBanned": true, "role": { "alias": "learner" }, "fromApi": false, "image": null }
Deactivate (ban) a user account
isBanned: true
true
Show Error object properties
Was this page helpful?